Configuring Gigahorse 

Gigahorse.config will read from application.conf to configure the settings.

Configuring Gigahorse with SSL 

To configure Gigahorse for use with HTTP over SSL/TLS (HTTPS), see Play WS’s Configuring WS SSL. Just place the configuration under gigahorse.ssl:

gigahorse.ssl {
  trustManager = {
    stores = [
      { type = "JKS", path = "exampletrust.jks" }
    ]
  }
}

Configuring Timeouts 

There are 3 different timeouts in Gigahorse. Reaching a timeout causes the request to interrupt.

The request timeout can be overridden for a specific connection with withRequestTimeout() (see Building a Request value).

Advanced configuration 

The following advanced settings can be configured.

Refer to the AsyncHttpClientConfig Documentation for more information.