Skip to main content

Module wire

Module wire 

Source
Expand description

RFC 5734 framing, RFC 5730 commands as structured JSON, and the responses NetGet writes for the domain (RFC 5731), host (RFC 5732) and contact (RFC 5733) mappings.

Structs§

Frame
Refusal
A refusal decided while reading the command.

Enums§

Command

Constants§

MAX_FRAME
The largest frame either side accepts, header included.
RESULT_CODES
RFC 5730 §3 result codes with their standard messages.

Functions§

command
Read a frame’s command.
greeting
message
namespace_of
object_of
read_frame
read_response
A response frame read back by a client: code, message, reason, transaction ids and the resData flattened per object.
res_data
The resData a handler action describes, for the command it answers.
response
write_frame