Hiredis.Clientval error_string : t -> string optionReturns the error string associated with a hiredis context
val connect :
?scripts:(string, string) Hashtbl.t ->
?auth:string ->
?nonblock:bool ->
?port:int ->
string ->
tCreate a new client connection
Create a new client from an existing file descr
val to_fd : t -> Unix.file_descrGet the underlying file descr
Similar to append_command but using a command made of Hiredis values
get_reply client executes the queued commands and returns the result
Execute a command formatted as an array of strings and return the reply immediately
Execute a command formatted as an array of values and return the reply immediately
val load_script : t -> string -> string -> unitload_script name script will load a lua script onto the server and make it available from the existing * client as name
call_script client name nkeys args calls a script by name with the given number of keys and arguments