Libp2pHelperInterface.Message
type unnamed_union_t =
Libp2p_ipc__Libp2p_ipc_capnp.MakeRPC(Capnp.RPC.None(Capnp.BytesMessage)).Builder.Libp2pHelperInterface.Message.unnamed_union_t =
| RpcRequest of RpcRequest.t |
| PushMessage of PushMessage.t |
| Undefined of int |
val get : t -> unnamed_union_t
val rpc_request_set_reader : t -> RpcRequest.struct_t reader_t -> RpcRequest.t
val rpc_request_set_builder : t -> RpcRequest.t -> RpcRequest.t
val rpc_request_init : t -> RpcRequest.t
val push_message_set_reader :
t ->
PushMessage.struct_t reader_t ->
PushMessage.t
val push_message_set_builder : t -> PushMessage.t -> PushMessage.t
val push_message_init : t -> PushMessage.t
val init_root : ?message_size:int -> unit -> t