Type alias UnknownBinaryTransport<Req, Res>
Unknown
Binary
Transport
<Req, Res>: { contentType
: string; decode
: Decoder<Req, Res, WsData>; encode
: Encoder<Req, Res, WsData>; isBinary
: true; transportType
: UNKNOWN }
Type Parameters
Type declaration
-
contentType: string
-
-
-
isBinary: true
-
transportType: UNKNOWN
Build your own Transport! Must provide definitions for encoding and decoding the Req and Res types to Uint8Array.