// SocketConfig is configuration relevant to the transport socket and protocol
typeSocketConfigstruct{
ServerKeystring`yaml:"server_key" json:"server_key" usage:"Server key to use to establish a connection to the server."`
Portint`yaml:"port" json:"port" usage:"The port for accepting connections from the client, listening on all interfaces. Unless explicitly defined, other ports will be chosen sequentially from here upwards."`
Portint`yaml:"port" json:"port" usage:"The port for accepting connections from the client, listening on all interfaces."`
MaxMessageSizeBytesint64`yaml:"max_message_size_bytes" json:"max_message_size_bytes" usage:"Maximum amount of data in bytes allowed to be read from the client socket per message."`
WriteWaitMsint`yaml:"write_wait_ms" json:"write_wait_ms" usage:"Time in milliseconds to wait for an ack from the client when writing data."`
PongWaitMsint`yaml:"pong_wait_ms" json:"pong_wait_ms" usage:"Time in milliseconds to wait for a pong message from the client after sending a ping."`