Helios v0.1.0 Helios.Pipeline.Adapter behaviour View Source

Each message that comes from outer world needs to be adopted to message context. By implementing send_resp/3 adpater should return response body that is sent to caller.

Link to this section Summary

Link to this section Types

Link to this section Callbacks

Link to this callback send_resp(payload, status, response) View Source
send_resp(payload(), status(), response()) :: {:ok, sent_body(), payload()}