Maxwell.Adapter behaviour (maxwell v2.4.0) View Source

Define adapter behaviour.

Examples

See Maxwell.Adapter.Ibrowse.

Link to this section Summary

Link to this section Types

Specs

return_t() :: Maxwell.Conn.t() | {:error, any(), Maxwell.Conn.t()}

Link to this section Callbacks

Specs

send_direct(Maxwell.Conn.t()) :: return_t()

Specs

send_file(Maxwell.Conn.t()) :: return_t()

Specs

send_stream(Maxwell.Conn.t()) :: return_t()