GitHub

ClientMiddlewareOptions

API reference for ClientMiddlewareOptions.

A client request about to be sent for endpoint; next sends it on (to the next client middleware, then the HTTP client).

Attributes

AttributeTypeDescription
endpointAnyEndpoint
groupAnyGroup
requestHttpClientRequest
nextCallable[[HttpClientRequest], Effect[HttpClientResponse, HttpClientError]]

Functions

__init__

__init__(endpoint, group, request, next) -> None
ParameterTypeDescription
endpointAnyEndpoint
groupAnyGroup
requestHttpClientRequest
nextCallable[[HttpClientRequest], Effect[HttpClientResponse, HttpClientError]]