init(request:maxBodySize:)

HTTPHandler.swift:513
init(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 an ResponseTooBigError. Default is 2^32.