package rpclib

  1. Overview
  2. Docs
A library to deal with RPCs in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rpclib-10.0.0.tbz
sha256=1d62cf36ff3f599286ff6c77a3266b04d9e14df73d3fce078d51ab9c4c7bad3a
sha512=9fe0bc38363c35e5ec185eadc096565f7f76e219bfde62756dee2cbc818e7663e1ce2e730a235f2bf2230a24ff52b29bcc8e1082e0a43d7e6c23f56ad74add43

doc/rpclib.json/Jsonrpc/index.html

Module JsonrpcSource

Sourcetype version =
  1. | V1
  2. | V2
Sourceexception Malformed_method_request of string
Sourceexception Malformed_method_response of string
Sourceval new_id : unit -> int64
Sourceval to_buffer : Rpc.t -> Buffer.t -> unit
Sourceval to_string : Rpc.t -> string
Sourceval to_a : empty:(unit -> 'a) -> append:('a -> string -> unit) -> Rpc.t -> 'a
  • deprecated
Sourceval string_of_call : ?version:version -> Rpc.call -> string
Sourceval string_of_response : ?id:Rpc.t -> ?version:version -> Rpc.response -> string
Sourceval of_string : ?strict:bool -> string -> Rpc.t
Sourceval of_a : next_char:('a -> char option) -> 'a -> Rpc.t
  • deprecated
Sourceval a_of_response : ?id:Rpc.t -> ?version:version -> empty:(unit -> 'a) -> append:('a -> string -> unit) -> Rpc.response -> 'a
  • deprecated
Sourceval json_of_response : ?id:Rpc.t -> version -> Rpc.response -> Rpc.t
Sourceval json_of_error_object : ?data:Rpc.t option -> int64 -> string -> Rpc.t
Sourceval get : string -> (string * 'a) list -> 'a
Sourceval call_of_string : string -> Rpc.call
Sourceval version_id_and_call_of_string : string -> version * Rpc.t * Rpc.call
Sourceval version_id_and_call_of_string_option : string -> version * Rpc.t option * Rpc.call
Sourceval response_of_string : ?strict:bool -> string -> Rpc.response
Sourceval response_of_in_channel : in_channel -> Rpc.response