Slack v0.23.5 Slack.Web.DefaultClient View Source

Default http client used for all requests to Slack Web API.

All Slack RPC method calls are delivered via post and are dangerous by default, raising on any HTTP response that doesn't contain a body field.

Parsed body data is returned unwrapped to the caller.

Additional error handling or response wrapping can be controlled as needed by configuring a custom client module.

config :slack, :web_http_client, YourApp.CustomClient