Skip to main content

Module protocol

Module protocol 

Source

Structs§

Auth
Authentication on first request
FetchLogs
Ask the client to stream the contents of its currently-active rolling log file. The client picks the newest file under its configured log directory matching the configured filename prefix.
GetLogLevel
Client-initiated request for the cloud’s current log-level settings. Sent right after auth so the client lands on the correct filter without waiting for the cloud to push.
GrantCap
Grant a capability token to the remote endpoint. The remote should store the RCAN and use it when dialing back to authorize its requests.
NameEndpoint
Label the client endpoint cloud-side with a string identifier.
Ping
Simple ping requests
Pong
Simple ping response
PutMetrics
Request to store the given metrics data
PutNetworkDiagnostics
Publishing network diagnostics
RunNetworkDiagnostics
ask this node to run diagnostics & return the result. present even without the net_diagnostics feature flag because the request struct is empty in both cases
SetLogLevel
Log-level filter settings. Used in two directions:

Enums§

ClientHostMessage
Message enum for ClientHostProtocol
ClientHostProtocol
Dedicated protocol for cloud-to-endpoint callbacks (net diagnostics, log level overrides).
IrohServicesProtocol
RemoteError
ServicesMessage
Message enum for IrohServicesProtocol

Constants§

ALPN
The main ALPN for connecting from the client to the cloud node.

Type Aliases§

IrohServicesClient
RemoteResult