Skip to main content

Module protocol

Module protocol 

Source

Structs§

ExecParams
Parameters for the "exec" JSON-RPC method.
ExecResultPayload
Result payload returned by the "exec" JSON-RPC method.
ReloadResultPayload
Result payload returned by the "reload" JSON-RPC method.
RpcError
JSON-RPC 2.0 error object.
RpcRequest
JSON-RPC 2.0 request or notification envelope.
RpcResponse
JSON-RPC 2.0 response envelope.
SearchParams
Parameters for the "search" JSON-RPC method.
SearchResultPayload
Result payload returned by the "search" JSON-RPC method.
SearchResultWire
Compact wire representation of a ranked search result for IPC transport.

Enums§

ClientMessage
Requests sent from an IPC client (Unix socket or internal bridge) to the daemon.
DaemonMessage
Responses sent from the daemon back to an IPC client.
RpcId
JSON-RPC 2.0 request/response correlation identifier.

Constants§

ERR_EXEC_FAILED
ERR_INTERNAL_ERROR
ERR_INVALID_PARAMS
ERR_INVALID_REQUEST
ERR_METHOD_NOT_FOUND
ERR_PARSE_ERROR
JSON-RPC 2.0 standard error codes and application-specific execution error code.
JSONRPC_VERSION
JSON-RPC protocol version string required by spec.