Class ServerRpc
java.lang.Object
com.github.copilot.sdk.generated.rpc.ServerRpc
Typed client for server-level RPC methods.
Provides strongly-typed access to all server-level API namespaces.
Obtain an instance by calling new ServerRpc(caller).
- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ServerAccountApiAPI methods for theaccountnamespace.final ServerMcpApiAPI methods for themcpnamespace.final ServerModelsApiAPI methods for themodelsnamespace.final ServerSessionFsApiAPI methods for thesessionFsnamespace.final ServerSessionsApiAPI methods for thesessionsnamespace.final ServerToolsApiAPI methods for thetoolsnamespace. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
models
API methods for themodelsnamespace. -
tools
API methods for thetoolsnamespace. -
account
API methods for theaccountnamespace. -
mcp
API methods for themcpnamespace. -
sessionFs
API methods for thesessionFsnamespace. -
sessions
API methods for thesessionsnamespace.
-
-
Constructor Details
-
ServerRpc
Creates a new server RPC client.- Parameters:
caller- the RPC transport function (e.g.,jsonRpcClient::invoke)
-
-
Method Details
-
ping
Invokesping.- Since:
- 1.0.0
-