OpenStream.Request
type struct_t = [
|
`Request_f77175f458d711a8
]
type t = struct_t builder_t
val has_peer : t -> bool
val peer_get : t -> PeerId.t
val peer_set_reader : t -> PeerId.struct_t reader_t -> PeerId.t
val peer_set_builder : t -> PeerId.t -> PeerId.t
val peer_init : t -> PeerId.t
val has_protocol_id : t -> bool
val protocol_id_get : t -> string
val protocol_id_set : t -> string -> unit
val of_message : Capnp.Message.rw message_t -> t
val to_message : t -> Capnp.Message.rw message_t
val to_reader : t -> struct_t reader_t
val init_root : ?message_size:int -> unit -> t
val init_pointer : pointer_t -> t