Structs§
- Iroh0
RttProtocol - A
ProtocolHandlerfor an irpc protocol that supports 0rtt connections. - Iroh
Lazy Remote Connection - A connection to a remote service.
- Iroh
Protocol - A
ProtocolHandlerfor an irpc protocol. - Iroh
Remote Connection - Wrap an existing iroh connection as an irpc remote connection.
- Iroh
Zrtt Remote Connection
Traits§
- Incoming
Remote Connection - Abstracts over
ConnectionandIncomingZeroRttConnection.
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.