setMaxRequestsPerHost

abstract fun setMaxRequestsPerHost(max: Byte)

Set maximum number of requests to a single host.

Parameters

max

Maximum number of requests. Default value for cURL is 0 (which means unlimited) Default value for OkHttp is unspecified Default value for NSURLSession is 8