跳到內容

Probe protocol

本頁內容尚未翻譯。

The services, messages, and enums of the package my.plugin.probe.v1, which probe.proto defines.

The smallest kind: the server delegates nothing to it. A plugin of any kind may serve it to check its transport, protocol, and authentication with my plugin test --kind probe, before it implements its own kind.

rpc Echo(EchoRequest) returns (EchoResponse);

Request: EchoRequest. Response: EchoResponse.

Echo returns what it was given. The call has no side effects.

  • payload (bytes, field 1): Base64 in JSON. May be empty.
  • number (int64, field 2): A decimal string in JSON. May be zero.
  • outcome (Outcome, field 1): A name in JSON. Anything but OUTCOME_OK, an empty response included, is a failure.
  • payload (bytes, field 2): The payload of the request.
  • number (int64, field 3): The number of the request.
  • OUTCOME_UNSPECIFIED = 0
  • OUTCOME_OK = 1

供 LLM 與程式設計代理使用:llms.txt,llms-full.txt, llms-small.txt

本站的流量分析