phoenix_gen_socket_client v2.1.1 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

Invoked to encode a socket message.