phoenix_gen_socket_client v3.2.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

Specs

Invoked to decode the raw message.

Specs

Invoked to encode a socket message.