On this page_HttpxResponse Adapter class for httpx.Response to conform to the HttpResponse protocol.Index Methods__init__readread_streamPropertiesheadershttp_versionstatus_codeMethods __init__ __init__(response): NoneParametersresponse: httpx.ResponseReturns Nonereadasync read(): bytesReturns bytesread_streamasync read_stream(): AsyncIterator[bytes]Returns AsyncIterator[bytes]Properties headersheaders: HttpHeadershttp_versionhttp_version: strstatus_codestatus_code: int
Adapter class for
httpx.Response
to conform to theHttpResponse
protocol.