Skip to main content

Module stdio

Module stdio 

Source
Expand description

Strict, bounded envelopes for one-request worker stdio control planes. Strict, bounded envelopes for one-request worker stdio control planes.

Structs§

WorkerStdioErrorResponse
Stable secret-free stdio failure payload.
WorkerStdioRequestEnvelope
One strict, versioned worker stdio request.
WorkerStdioResponseEnvelope
One strict, versioned worker stdio response.

Enums§

WorkerStdioCodecError
Sanitized failure returned by the bounded stdio codec.
WorkerStdioRequest
Supported read-only worker stdio operations.
WorkerStdioResponse
Supported worker stdio results.

Constants§

MAX_WORKER_STDIO_REQUEST_BYTES
Maximum accepted bytes for one worker stdio request.
MAX_WORKER_STDIO_RESPONSE_BYTES
Maximum emitted or accepted bytes for one worker stdio response.
WORKER_STDIO_SCHEMA_VERSION
Current schema for the worker stdio request and response envelopes.

Functions§

decode_worker_stdio_request
Decode exactly one bounded request document from a reader.
decode_worker_stdio_response
Decode exactly one bounded response document from a reader.
encode_worker_stdio_request
Encode and write exactly one bounded request document plus a newline.
encode_worker_stdio_response
Encode and write exactly one bounded response document plus a newline.