ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

Perform single attempts without redirects, cookies or ambient proxies.

TLS verification uses the trust store created for this transport.

Method __init__ Bind the loaded HTTPX module and its pool to this owner.
Async Method _closeResponse Translate a failed release before a cancelled owner's reporter sees it.
Async Method aclose Wait for the owning pool to release its sockets.
Async Method open Open one attempt, protect cleanup and translate public wire errors.
Instance Variable _http Retain the HTTPX module used to construct and classify attempts.
Instance Variable _pool Own the asynchronous pool used for this worker's HTTP exchanges.

Inherited from IHttpTransport:

Class Variable __slots__ Leave storage for transport state to concrete implementations.
def __init__(self, http: ModuleType, pool: httpx.AsyncBaseTransport): (source)

Bind the loaded HTTPX module and its pool to this owner.

Parameters
http:ModuleTypeHTTPX module loaded by the transport factory.
pool:httpx.AsyncBaseTransportHTTPX pool owned by this transport.
Returns
NoneInitialize the transport with its existing worker-local pool.
async def _closeResponse(self, raw: httpx.Response): (source)

Translate a failed release before a cancelled owner's reporter sees it.

Parameters
raw:httpx.ResponseOpen response whose stream belongs to the current attempt.
Returns
NoneFinish after the response stream releases its connection.
async def aclose(self): (source)

Wait for the owning pool to release its sockets.

Returns
NoneComplete after the pool releases its open connections.

Open one attempt, protect cleanup and translate public wire errors.

Parameters
request:PreparedRequestPrepared request for this attempt.
Yields
TransportResponseMetadata and raw stream owned by this attempt.

Retain the HTTPX module used to construct and classify attempts.

Own the asynchronous pool used for this worker's HTTP exchanges.