Type alias SendOptions

SendOptions: {
    sharedSocketTimeout?: number;
    timeout?: number;
    transport?: "tcp" | "udp";
    useSharedSocket?: boolean;
}

Send Options.

Type declaration

  • Optional sharedSocketTimeout?: number
  • Optional timeout?: number
  • Optional transport?: "tcp" | "udp"
  • Optional useSharedSocket?: boolean

Type Param

(ms)

Type Param

'tcp','udp'

Type Param

attempt to reuse a shared socket if available, UDP only

Type Param

(ms) how long to wait for another send before closing a shared socket. 0 = never automatically close socket

Generated using TypeDoc