package hiredis

  1. Overview
  2. Docs

Module Hiredis.ReaderSource

Readers are used to decode Redis Value.ts from buffered input

Sourcetype t
Sourceval create : unit -> t

Create a new, empty reader

Sourceval feed : t -> string -> status

Feed the reader more input data

Sourceval get_reply : t -> Value.t option

Attempt to read a reply from the accumulated input data

OCaml

Innovation. Community. Security.