Skip to main content

Module wire

Module wire 

Source
Expand description

RFC 9271/NUT framing shared by the server and client. No application storage.

Structs§

Request

Constants§

IO_TIMEOUT
MAX_ENTRIES
MAX_LINE_BYTES
MAX_RESPONSE_BYTES

Functions§

error_reply
quote
read_line
A whole-line deadline and a hard allocation bound; EOF never completes a partial line.
read_response
Read and validate a complete response, matching every row and terminator to the request.
read_response_with_timeout
Same parser with an explicit transaction deadline, including all list rows.
render
Render reply identities from the actual request, never from model-supplied framing.
split
Parse quoted strings without permitting newline injection or unfinished escapes.
token