Exd v0.1.12 Exd.Transport.Adapter behaviour View Source

Transport behaviour

Link to this section Summary

Callbacks

Send documents to transport layer

Send documents to transport layer

Link to this section Callbacks

Link to this callback init(keyword) View Source
init(keyword()) :: {:ok, any()}

Send documents to transport layer

Link to this callback send(map) View Source
send(map()) :: {:ok, any()} | {:error, term()}

Send documents to transport layer