Skip to main content

Module protocol

Module protocol 

Source

Structs§

Auth
Authentication on first request
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.
LogLine
A single structured log line emitted by a client process.
NameEndpoint
Label the client endpoint cloud-side with a string identifier.
Ping
Simple ping requests
Pong
Simple ping response
PutLogs
A batch of log lines pushed from a client to the cloud.
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
Cloud-issued instruction to override the client’s tracing filter.
SpanInfo
A span recorded as part of a LogLine.

Enums§

ClientHostMessage
Message enum for ClientHostProtocol
ClientHostProtocol
Dedicated protocol for cloud-to-endpoint callbacks (net diagnostics, log level overrides).
FieldValue
Wire-safe representation of a structured tracing field value.
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