Initializerasync-http-client 1.25.2AsyncHTTPClient
init(request:maxBodySize:)
HTTPHandler.swift:513init(request: HTTPClient.Request, maxBodySize: Int)
Parameters
- request
The corresponding request of the response this delegate will be accumulating.
- maxBodySize
Maximum size in bytes of the HTTP response body that
ResponseAccumulator
will accept until it will abort the request and throw anResponseTooBigError
. Default is 2^32.