Natsex v0.9.0 Natsex.Parser View Source

NATS protocol parser/serializer

Link to this section Summary

Link to this section Functions

Link to this function command_publish(subject, reply_to, payload) View Source
command_publish(String.t(), String.t() | nil, any()) :: String.t()
Link to this function create_json_command(command, data) View Source
create_json_command(String.t(), map()) :: String.t()
Link to this function create_message(command, params \\ []) View Source
create_message(String.t(), list()) :: String.t()
Link to this function parse(message) View Source
parse(String.t()) :: parsed_command()
Link to this function parse_json_response(message) View Source
parse_json_response(String.t()) :: parsed_command()