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.

module documentation

Undocumented

Class _EventStreamIterator Encode an owned event source without prefetching or buffering events.
Function _encode_data Encode a text payload as one UTF-8 server-sent event.
def _encode_data(data: str) -> bytes: (source)

Encode a text payload as one UTF-8 server-sent event.

Parameters
data:strPayload whose CRLF and CR separators are normalized to LF.
Returns
bytesData fields with explicit empty lines and a terminating empty line.