Client implementation using httpx¶
- blacksmith.service._async.adapters.httpx.build_headers(req: HTTPRequest) Mapping[str, str] ¶
- class blacksmith.service._async.adapters.httpx.AsyncHttpxTransport(verify_certificate: bool = True, proxies: URL | str | Proxy | Dict[URL | str, None | URL | str | Proxy] | None = None)¶
Transport implemented using httpx.
- async __call__(req: HTTPRequest, client_name: str, path: str, timeout: HTTPTimeout) HTTPResponse ¶
This is the next function of the middleware.