Skip to main content
Version: 11.x

Interface: BaseRequest<TMethod>

Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:29

All requests/responses extends this shape

Extends​

Extended by​

Type Parameters​

Type ParameterDefault type
TMethod extends stringstring

Properties​

id?​

optional id: RequestId

Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:25

Inherited from​

BaseEnvelope.id


jsonrpc?​

optional jsonrpc: "2.0"

Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:26

Inherited from​

BaseEnvelope.jsonrpc


method​

method: TMethod

Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:32