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