phoenix_gen_socket_client v4.0.0 Phoenix.Channels.GenSocketClient.Serializer behaviour View Source

Describes the serializer interface used in Phoenix.Channels.GenSocketClient to encode/decode messages.

Link to this section Summary

Callbacks

Invoked to decode the raw message.

Invoked to encode a socket message.

Link to this section Callbacks

Link to this callback

decode_message(arg1, arg2)

View Source

Specs

Invoked to decode the raw message.

Specs

Invoked to encode a socket message.