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

Handles requests for HTTP targets.

Link to this section Summary

Link to this section Functions

Link to this function

add_query_params(uri_text, params)

View Source
Link to this function

build_url(proxy_uri, request_path)

View Source

Specs

build_url(
  Proxy.api_definition()
  | %URI{
      authority: term(),
      fragment: term(),
      host: term(),
      path: term(),
      port: term(),
      query: term(),
      scheme: term(),
      userinfo: term()
    },
  String.t()
) :: String.t()

Specs

config() :: any()

Returns module configuration.

If application environment contains values in Keyword or Map struct, defaults from macro usage will be recursively merged with application configuration.

If one of the configuration parameters does not exist or can not be resolved, raises ArgumentError.