Skip to main content

Module wire

Module wire 

Source
Expand description

Wire format types for the WebSocket and HTTP protocol layers.

Parameters are encoded in the following wire format:

  • Positional: [{"type":"Int2","value":"1234"}, ...]
  • Named: {"key": {"type":"Int2","value":"1234"}, ...}

These types deserialize that format and convert it to the internal Params type.

Structs§

WireValue
Wire format for a single typed value: {"type": "Int2", "value": "1234"}

Enums§

WireParams
Wire format for query parameters.