# Functions
No description provided by the author
New creates a new Resty client, using static configuration (from the config file) from a given nested prefix in the static configuration
You can use the normal Resty builder pattern, to set per-instance configuration as required.
OnAfterResponse when using SetDoNotParseResponse(true) for streming binary replies, the caller should invoke ffrest.OnAfterResponse on the response manually.
No description provided by the author
# Constants
HTTPConfigAuthPassword HTTPS Basic Auth configuration - secret / password.
HTTPConfigAuthUsername HTTPS Basic Auth configuration - username.
HTTPConfigHeaders adds custom headers to the requests.
HTTPConfigProxyURL adds a proxy.
HTTPConfigRequestTimeout the request timeout.
HTTPConfigRetryCount the maximum number of retries.
HTTPConfigRetryEnabled whether retry is enabled on the actions performed over this HTTP request (does not disable retry at higher layers).
HTTPConfigRetryInitDelay the initial retry delay.
HTTPConfigRetryMaxDelay the maximum retry delay.
HTTPConfigURL is the url to connect to for this HTTP configuration.
HTTPConnectionTimeout the connection timeout for new connections.
HTTPCustomClient - unit test only - allows injection of a custom HTTP client to resty.
HTTPExpectContinueTimeout see ExpectContinueTimeout in Go docs.
HTTPIdleTimeout the max duration to hold a HTTP keepalive connection between calls.
HTTPMaxIdleConns the max number of idle connections to hold pooled.
HTTPTLSHandshakeTimeout the TLS handshake connection timeout.