Interface: DecoderOptions
Defined in: netconf/src/transport/framing/framing.ts:33
Options for a FrameDecoder.
Properties
maxMessageBytes?
ts
readonly maxMessageBytes?: number;Defined in: netconf/src/transport/framing/framing.ts:44
Largest message accepted, in bytes of the message itself (chunk headers and the end-of-message delimiter are not counted). A larger message is a fatal FramingError, raised as soon as the limit is passed. However the message is chunked and read, the decoder holds at most about twice this for it while it arrives, plus one copy when it is handed over. Default 64 MiB.
mode?
ts
readonly mode?: FramingMode;Defined in: netconf/src/transport/framing/framing.ts:35
The framing to start in. Default 'eom'.