View Source Antikythera.Websocket.Frame (antikythera v0.5.1)
Simplified data type for websocket frames.
Summary
Types
@type close_code() :: 1000..4999
@type close_payload() :: String.t()
@type t() :: :close | {:close, close_code(), binary()} | {:text | :binary, binary()}