Skip to main content

Crate irpc_iroh

Crate irpc_iroh 

Source

Structs§

Iroh0RttProtocol
A ProtocolHandler for an irpc protocol that supports 0rtt connections.
IrohLazyRemoteConnection
A connection to a remote service.
IrohProtocol
A ProtocolHandler for an irpc protocol.
IrohRemoteConnection
Wrap an existing iroh connection as an irpc remote connection.
IrohZrttRemoteConnection

Traits§

IncomingRemoteConnection
Abstracts over Connection and IncomingZeroRttConnection.

Functions§

client
Returns a client that connects to a irpc service using an iroh::Endpoint.
handle_connection
Handles a single iroh connection with the provided handler.
listen
Utility function to listen for incoming connections and handle them with the provided handler
read_request
Reads a single request from a connection, and a message with channels.
read_request_raw
Reads a single request from the connection.