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.
Header
Field
Value
Description
Message Type
0x03
Connect
Body
Name
Field
Type
Mandatory
Description
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.
Version
0x06
any
Specifies the protocol version to be used.
Response
Last updated
Was this helpful?