pixie v0.3.9 Pixie.Response.Connect
Convert an incoming Pixie.Message.Connect into a response.
Response
MUST include: * channel
* successful
* clientId
MAY include: * error
* advice
* ext
* id
* timestamp
This struct contains the following keys:
:channelalways"/meta/connect".:client_idthe client ID generated by the server during handshake.:erroran error message to send to the client explaining why the request cannot proceed. Optional.:extan arbitrary map of data the server sends for use in extensions (usually authentication information, etc). Optional.:ida message ID generated by the client. Optional.:timestampthe the the response was generated, formatted as ISO8601.:adviceadvice from the server about how to handle timeouts, polling intervals, etc. See the Bayeux protocol for more information.
Summary
Functions
Create a Pixie.Response.Connect struct based on some fields from the
incoming message, and some generated
Functions
Create a Pixie.Response.Connect struct based on some fields from the
incoming message, and some generated.