SocketmapClientOptions
Defined in: net-socketmap/src/socketmap/socketmap-client.ts:22
Construction options for SocketmapClient.
Properties
Section titled “Properties”defaultTimeoutMs?
Section titled “defaultTimeoutMs?”
optionaldefaultTimeoutMs?:number
Defined in: net-socketmap/src/socketmap/socketmap-client.ts:34
Applied to every lookup that does not specify its own timeout.
maxBufferSize?
Section titled “maxBufferSize?”
optionalmaxBufferSize?:number
Defined in: net-socketmap/src/socketmap/socketmap-client.ts:24
Ceiling on undecoded received bytes. Defaults to 1 MiB.
maxPayloadLength?
Section titled “maxPayloadLength?”
optionalmaxPayloadLength?:number
Defined in: net-socketmap/src/socketmap/socketmap-client.ts:31
Maximum declared netstring payload length. Defaults to 100 KiB, well above any realistic lookup result and low enough that a bogus length declaration is rejected immediately.