Interface ConsumerConfig

interface ConsumerConfig {
    maxBytes?: number;
    smartmoduleData?: string;
    smartmoduleFile?: string;
    smartmoduleName?: string;
    smartmoduleType: SmartModuleType;
}

Properties

maxBytes?: number
smartmoduleData?: string

Gzipped and Base64 encoded SmartModule WASM file.

smartmoduleFile?: string

Path to a SmartModule WASM file.

Internally replaces the value provided to smartmoduleData, you must provide one, either smartmoduleFile or smartmoduleData.

smartmoduleName?: string
smartmoduleType: SmartModuleType