Pristine.Ports.Transport behaviour (Pristine v0.3.1)

Copy Markdown View Source

Transport boundary for sending requests.

Summary

Callbacks

send(t, t)

@callback send(Pristine.Core.Request.t(), Pristine.Core.Context.t()) ::
  {:ok, Pristine.Core.Response.t()} | {:error, term()}