exsozu v0.3.0 ExSozu.Protocol View Source
Provides functions to work with Sōzu’s socket message format.
Link to this section Summary
Link to this section Functions
Link to this function
decode!(message)
View Source
decode!(binary()) :: {[ExSozu.Command.t()], partial :: nil | binary()}
Decodes a message into answers.
Link to this function
encode!(commands)
View Source
encode!(ExSozu.Command.t() | [ExSozu.Command.t()]) :: binary()
Encodes a command.