Current section
Files
Jump to
Current section
Files
lib/phoenix/socket_client/transport.ex
defmodule Phoenix.SocketClient.Transport do
@callback open(url :: String.t(), opts :: Keyword.t()) ::
{:ok, pid}
| {:error, any}
@callback close(socket :: pid) ::
{:ok, any}
| {:error, any}
end