Current section

Files

Jump to
phoenix_socket_client lib phoenix_socket_client transport.ex
Raw

lib/phoenix_socket_client/transport.ex

defmodule PhoenixSocketClient.Transport do
@callback open(url :: String.t(), opts :: Keyword.t()) ::
{:ok, pid}
| {:error, any}
@callback close(socket :: pid) ::
{:ok, any}
| {:error, any}
end