RigInboundGateway.ApiProxy.Handler.HttpHeader (Reactive Interaction Gateway v3.0.0-alpha.2) View Source

HTTP header modification to be applied, according to the spec.

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

put_forward_header(req_headers, remote_ip, host_ip)

View Source

Specs

put_forward_header(Plug.Conn.headers(), remote_ip :: ip(), host_ip :: ip()) ::
  Plug.Conn.headers()
Link to this function

put_host_header(req_headers, url)

View Source

Specs

put_host_header(Plug.Conn.headers(), String.t()) :: Plug.Conn.headers()