Disconnect
Message used to cleanly disconnect a current connection.
Request
A Disconnect
message can be sent anytime to close an ongoing connection. It can be initiated both by the server or the client.
Once sent or received, it is expected that the connection is closed.
Header
Field
Value
Description
Message Type
0x04
Disconnect
Body
Name
Field
Type
Mandatory
Description
Stream Id
0x01
varint
Disconnect Stream Identifier. Not required if acknowledgement is not expected from the other side.
Parameters
0x02
any
Disconnect reason.
Payload
0x03
any
Additional disconnect information.
Response
Last updated
Was this helpful?