Wampex.Client.Transport behaviour (wampex_client v0.1.2)

Behaviour for Transports

Link to this section Summary

Link to this section Callbacks

Link to this callback

send_request(transport, message)

Specs

send_request(transport :: atom() | pid(), message :: Wampex.message()) :: :ok
Link to this callback

start_link(list)

Specs

start_link(
  url: binary(),
  session: Wampex.Client.Session.t(),
  protocol: binary(),
  serializer: module(),
  opts: []
) :: {:ok, pid()} | {:error, term()}