pixie v0.3.9 Pixie.Message.Disconnect
Convert an incoming disconnect message into a struct.
Request
MUST contain * clientId
MAY contain * ext
* id
This struct contains the following keys:
:channel
always"/meta/disconnect"
.:client_id
the client ID generated by the server during handshake.:ext
an arbitrary map of data the client sent for use in extensions (usually authentication information, etc). Optional.:id
a message ID generated by the client. Optional.
Summary
Functions
Convert the incoming message into a Pixie.Message.Disconnect
by copying
only those fields we care about
Functions
Convert the incoming message into a Pixie.Message.Disconnect
by copying
only those fields we care about.