antikythera v0.4.0 Antikythera.Websocket.Frame View Source

Simplified data type for websocket frames.

Link to this section Summary

Link to this section Types

Specs

close_code() :: 1000..4999

Specs

close_payload() :: String.t()

Specs

t() :: :close | {:close, close_code(), binary()} | {:text | :binary, binary()}

Link to this section Functions

Specs

valid?(term()) :: boolean()