Libp2pHelperInterface.PushMessage
type unnamed_union_t =
Libp2p_ipc__Libp2p_ipc_capnp.MakeRPC(Capnp.RPC.None(Capnp.BytesMessage)).Reader.Libp2pHelperInterface.PushMessage.unnamed_union_t =
| Validation of Validation.t |
| AddResource of AddResource.t |
| DeleteResource of DeleteResource.t |
| DownloadResource of DownloadResource.t |
| HeartbeatPeer of HeartbeatPeer.t |
| Undefined of int |
val get : t -> unnamed_union_t
val has_header : t -> bool
val header_get : t -> PushMessageHeader.t
val header_get_pipelined :
struct_t MessageWrapper.StructRef.t ->
PushMessageHeader.struct_t MessageWrapper.StructRef.t