Skip to content

Client Provided to Server

This set of capabilities is implemented by Client/Device and called by Server on Peer connection. Server uses it to read the device's own information or request the device to perform local capabilities.

Methods

MethodFunction
client.info.getRead Client current device information
client.identifiers.getRead Client hardware/device identifiers
client.tool.invokeRequest Client to execute its locally provided Tool

Calling relationship

A Client provider can only return data that is owned or executable by the Client. Server resource-access decisions, cross-peer lookup, and persistence management cannot be implemented as client.*.

Go Client's provider dispatch is located at sdk/go/gizcli's RPC Client implementation; the server side calls these methods through online Peer connection.