HttpCall

constructor(request: HttpRequest, response: HttpResponse, requestTime: <Error class: unknown class> = Instant.now(), responseTime: <Error class: unknown class> = Instant.now(), coroutineContext: <Error class: unknown class> = EmptyCoroutineContext)

Parameters

request

the original complete request

response

the HttpResponse for the given request

requestTime

the time the request was made by the engine

responseTime

the time the response was received. This is a rough estimate of Time-to-first-header (TTFH) as reported by the engine.

coroutineContext

the call context