Libp2pHelperInterface.RpcRequest
type unnamed_union_t =
Libp2p_ipc__Libp2p_ipc_capnp.MakeRPC(Capnp.RPC.None(Capnp.BytesMessage)).Builder.Libp2pHelperInterface.RpcRequest.unnamed_union_t =
| Configure of Configure.Request.t |
| SetGatingConfig of SetGatingConfig.Request.t |
| Listen of Listen.Request.t |
| GetListeningAddrs of GetListeningAddrs.Request.t |
| BeginAdvertising of BeginAdvertising.Request.t |
| AddPeer of AddPeer.Request.t |
| ListPeers of ListPeers.Request.t |
| GenerateKeypair of GenerateKeypair.Request.t |
| Publish of Publish.Request.t |
| Subscribe of Subscribe.Request.t |
| Unsubscribe of Unsubscribe.Request.t |
| AddStreamHandler of AddStreamHandler.Request.t |
| RemoveStreamHandler of RemoveStreamHandler.Request.t |
| OpenStream of OpenStream.Request.t |
| CloseStream of CloseStream.Request.t |
| ResetStream of ResetStream.Request.t |
| SendStream of SendStream.Request.t |
| SetNodeStatus of SetNodeStatus.Request.t |
| GetPeerNodeStatus of GetPeerNodeStatus.Request.t |
| BandwidthInfo of BandwidthInfo.Request.t |
| TestDecodeBitswapBlocks of TestDecodeBitswapBlocks.Request.t |
| TestEncodeBitswapBlocks of TestEncodeBitswapBlocks.Request.t |
| Undefined of int |
val get : t -> unnamed_union_t
val configure_set_reader :
t ->
Configure.Request.struct_t reader_t ->
Configure.Request.t
val configure_set_builder : t -> Configure.Request.t -> Configure.Request.t
val configure_init : t -> Configure.Request.t
val set_gating_config_set_reader :
t ->
SetGatingConfig.Request.struct_t reader_t ->
SetGatingConfig.Request.t
val set_gating_config_set_builder :
t ->
SetGatingConfig.Request.t ->
SetGatingConfig.Request.t
val set_gating_config_init : t -> SetGatingConfig.Request.t
val listen_set_reader :
t ->
Listen.Request.struct_t reader_t ->
Listen.Request.t
val listen_set_builder : t -> Listen.Request.t -> Listen.Request.t
val listen_init : t -> Listen.Request.t
val get_listening_addrs_set_reader :
t ->
GetListeningAddrs.Request.struct_t reader_t ->
GetListeningAddrs.Request.t
val get_listening_addrs_set_builder :
t ->
GetListeningAddrs.Request.t ->
GetListeningAddrs.Request.t
val get_listening_addrs_init : t -> GetListeningAddrs.Request.t
val begin_advertising_set_reader :
t ->
BeginAdvertising.Request.struct_t reader_t ->
BeginAdvertising.Request.t
val begin_advertising_set_builder :
t ->
BeginAdvertising.Request.t ->
BeginAdvertising.Request.t
val begin_advertising_init : t -> BeginAdvertising.Request.t
val add_peer_set_reader :
t ->
AddPeer.Request.struct_t reader_t ->
AddPeer.Request.t
val add_peer_set_builder : t -> AddPeer.Request.t -> AddPeer.Request.t
val add_peer_init : t -> AddPeer.Request.t
val list_peers_set_reader :
t ->
ListPeers.Request.struct_t reader_t ->
ListPeers.Request.t
val list_peers_set_builder : t -> ListPeers.Request.t -> ListPeers.Request.t
val list_peers_init : t -> ListPeers.Request.t
val generate_keypair_set_reader :
t ->
GenerateKeypair.Request.struct_t reader_t ->
GenerateKeypair.Request.t
val generate_keypair_set_builder :
t ->
GenerateKeypair.Request.t ->
GenerateKeypair.Request.t
val generate_keypair_init : t -> GenerateKeypair.Request.t
val publish_set_reader :
t ->
Publish.Request.struct_t reader_t ->
Publish.Request.t
val publish_set_builder : t -> Publish.Request.t -> Publish.Request.t
val publish_init : t -> Publish.Request.t
val subscribe_set_reader :
t ->
Subscribe.Request.struct_t reader_t ->
Subscribe.Request.t
val subscribe_set_builder : t -> Subscribe.Request.t -> Subscribe.Request.t
val subscribe_init : t -> Subscribe.Request.t
val unsubscribe_set_reader :
t ->
Unsubscribe.Request.struct_t reader_t ->
Unsubscribe.Request.t
val unsubscribe_set_builder :
t ->
Unsubscribe.Request.t ->
Unsubscribe.Request.t
val unsubscribe_init : t -> Unsubscribe.Request.t
val add_stream_handler_set_reader :
t ->
AddStreamHandler.Request.struct_t reader_t ->
AddStreamHandler.Request.t
val add_stream_handler_set_builder :
t ->
AddStreamHandler.Request.t ->
AddStreamHandler.Request.t
val add_stream_handler_init : t -> AddStreamHandler.Request.t
val remove_stream_handler_set_reader :
t ->
RemoveStreamHandler.Request.struct_t reader_t ->
RemoveStreamHandler.Request.t
val remove_stream_handler_set_builder :
t ->
RemoveStreamHandler.Request.t ->
RemoveStreamHandler.Request.t
val remove_stream_handler_init : t -> RemoveStreamHandler.Request.t
val open_stream_set_reader :
t ->
OpenStream.Request.struct_t reader_t ->
OpenStream.Request.t
val open_stream_set_builder : t -> OpenStream.Request.t -> OpenStream.Request.t
val open_stream_init : t -> OpenStream.Request.t
val close_stream_set_reader :
t ->
CloseStream.Request.struct_t reader_t ->
CloseStream.Request.t
val close_stream_set_builder :
t ->
CloseStream.Request.t ->
CloseStream.Request.t
val close_stream_init : t -> CloseStream.Request.t
val reset_stream_set_reader :
t ->
ResetStream.Request.struct_t reader_t ->
ResetStream.Request.t
val reset_stream_set_builder :
t ->
ResetStream.Request.t ->
ResetStream.Request.t
val reset_stream_init : t -> ResetStream.Request.t
val send_stream_set_reader :
t ->
SendStream.Request.struct_t reader_t ->
SendStream.Request.t
val send_stream_set_builder : t -> SendStream.Request.t -> SendStream.Request.t
val send_stream_init : t -> SendStream.Request.t
val set_node_status_set_reader :
t ->
SetNodeStatus.Request.struct_t reader_t ->
SetNodeStatus.Request.t
val set_node_status_set_builder :
t ->
SetNodeStatus.Request.t ->
SetNodeStatus.Request.t
val set_node_status_init : t -> SetNodeStatus.Request.t
val get_peer_node_status_set_reader :
t ->
GetPeerNodeStatus.Request.struct_t reader_t ->
GetPeerNodeStatus.Request.t
val get_peer_node_status_set_builder :
t ->
GetPeerNodeStatus.Request.t ->
GetPeerNodeStatus.Request.t
val get_peer_node_status_init : t -> GetPeerNodeStatus.Request.t
val bandwidth_info_set_reader :
t ->
BandwidthInfo.Request.struct_t reader_t ->
BandwidthInfo.Request.t
val bandwidth_info_set_builder :
t ->
BandwidthInfo.Request.t ->
BandwidthInfo.Request.t
val bandwidth_info_init : t -> BandwidthInfo.Request.t
val test_decode_bitswap_blocks_set_reader :
t ->
TestDecodeBitswapBlocks.Request.struct_t reader_t ->
TestDecodeBitswapBlocks.Request.t
val test_decode_bitswap_blocks_set_builder :
t ->
TestDecodeBitswapBlocks.Request.t ->
TestDecodeBitswapBlocks.Request.t
val test_decode_bitswap_blocks_init : t -> TestDecodeBitswapBlocks.Request.t
val test_encode_bitswap_blocks_set_reader :
t ->
TestEncodeBitswapBlocks.Request.struct_t reader_t ->
TestEncodeBitswapBlocks.Request.t
val test_encode_bitswap_blocks_set_builder :
t ->
TestEncodeBitswapBlocks.Request.t ->
TestEncodeBitswapBlocks.Request.t
val test_encode_bitswap_blocks_init : t -> TestEncodeBitswapBlocks.Request.t
val has_header : t -> bool
val header_get : t -> RpcMessageHeader.t
val header_set_reader :
t ->
RpcMessageHeader.struct_t reader_t ->
RpcMessageHeader.t
val header_set_builder : t -> RpcMessageHeader.t -> RpcMessageHeader.t
val header_init : t -> RpcMessageHeader.t
val init_root : ?message_size:int -> unit -> t