Current section

Files

Jump to
phoenix_client lib phoenix_client transport.ex
Raw

lib/phoenix_client/transport.ex

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