Skip to main content

Module transport

Module transport 

Source
Expand description

Opening the HTTP stream to Azure and handing it on as lines.

Enumsยง

ResponseStreamType ๐Ÿ”’

Functionsยง

lines_from_byte_stream ๐Ÿ”’
Wraps a byte stream as the lines the SSE parsers read, shared by production and tests so a change to how lines are framed cannot drift between them.
make_request_and_create_stream ๐Ÿ”’
Makes a request to Azure and returns the resulting stream.

Type Aliasesยง

ResponseLinesStream ๐Ÿ”’
The lines of an Azure response body, as the stream parsers read them.