Interface MemoryTransportInit

interface MemoryTransportInit {
    inboundUpgradeTimeout?: number;
    latency?: number;
    upgraderOptions?: UpgraderOptions<ProgressEvent<any, unknown>>;
}

Properties

inboundUpgradeTimeout?: number
latency?: number

Add this much latency in ms to every buffer sent over the transport

Default

0
upgraderOptions?: UpgraderOptions<ProgressEvent<any, unknown>>