antikythera v0.3.0 Antikythera.Websocket.Frame View Source

Simplified data type for websocket frames.

Link to this section Summary

Link to this section Types

Link to this type

close_code()

View Source
close_code() :: 1000..4999
Link to this type

close_payload()

View Source
close_payload() :: String.t()
Link to this type

t()

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

Link to this section Functions