Connect

Message to authenticate and negotiate connection parameters.

Request

A Connect message MUST be sent from the client to the server to authenticate and negotiate the connection parameters. This message MUST be the first one after establishing the connection. If any other message or data is received, the server MUST close the connection immediately.

FieldValueDescription

Message Type

0x03

Connect

Message Size

Remaining Message Length

Body

NameFieldTypeMandatoryDescription

Stream Id

0x01

varint

Parameters

0x02

any

Connect parameters, that can be used to identify the authentication type.

Payload

0x03

any

Authentication payload to log-in with the server.

Keep Alive

0x04

varint

Establish a Keep Alive interval in seconds. Default keep-alive interval depends on server implementation.

Encoding

0x05

any

Defines the encoding mechanism that will be used when sending any values

Version

0x06

any

Specifies the protocol version to be used.

Response

Last updated