Connect
Message to authenticate and negotiate connection parameters.
Last updated
Message to authenticate and negotiate connection parameters.
Last updated
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.
Field | Value | Description |
---|---|---|
Name | Field | Type | Mandatory | Description |
---|---|---|---|---|
Message Type
0x03
Connect
Message Size
Remaining Message Length
Stream Id
0x01
Connect Stream identifier.
Parameters
0x02
Connect parameters, that can be used to identify the authentication type.
Payload
0x03
Authentication payload to log-in with the server.
Keep Alive
0x04
Establish a Keep Alive interval in seconds. Default keep-alive interval depends on server implementation.
Encoding
0x05
Defines the encoding mechanism that will be used when sending any values
Version
0x06
Specifies the protocol version to be used.