Phoenix.Transports.Serializer behaviour

Defines a behaviour for Phoenix.Socket.Message serializiation.

Source

Callbacks

decode!/2

Specs:

Decodes iodata into Phoenix.Socket.Message struct

Source
encode!/1

Specs:

Encodes Phoenix.Socket.Message struct to transport respresentation

Source
fastlane!/1

Specs:

Translates a Phoenix.Socket.Broadcast struct to fastlane format

Source