package valkey

  1. Overview
  2. Docs

Module Valkey.Resp3Source

RESP3 wire value.

Attributes (|) and streamed aggregates are handled by the parser, not represented as variants.

Sourcetype t =
  1. | Simple_string of string
  2. | Simple_error of string
  3. | Integer of int64
  4. | Bulk_string of string
  5. | Array of t list
  6. | Null
  7. | Boolean of bool
  8. | Double of float
  9. | Big_number of string
  10. | Bulk_error of string
  11. | Verbatim_string of {
    1. encoding : string;
    2. data : string;
    }
  12. | Map of (t * t) list
  13. | Set of t list
  14. | Push of t list
Sourceval equal : t -> t -> bool
Sourceval pp : Format.formatter -> t -> unit