Type Alias SocketOptions<S>

SocketOptions: Options<S, { context: Context }>

Represents the options that can be assigned in the constructor of a given socket type, for example new Dealer({...}). Readonly options for the particular socket will be omitted.

Type Parameters

  • S extends Socket

    The socket type to which the options should be applied.