Up

Module Rpc_responder

Signature

type t = Responder.t
val schedule : t -> Core_kernel.Std.Bigstring.t -> pos:int -> len:int -> [
| `Connection_closed
| `Flushed of unit Async_kernel.Std.Deferred.t
]
val write_bigstring : t -> Core_kernel.Std.Bigstring.t -> pos:int -> len:int -> unit
val write_bin_prot : t -> 'a Core_kernel.Std.Bin_prot.Type_class.writer -> 'a -> unit
val write_error : t -> Core_kernel.Std.Error.t -> unit