Skip to main content
Version: 11.x

Interface: Request<TMethod, TParams>

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

All requests/responses extends this shape

Extends​

Extended by​

Type Parameters​

Type ParameterDefault type
TMethod extends stringstring
TParamsunknown

Properties​

id?​

optional id: RequestId

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

Inherited from​

BaseRequest.id


jsonrpc?​

optional jsonrpc: "2.0"

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

Inherited from​

BaseRequest.jsonrpc


method​

method: TMethod

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

Inherited from​

BaseRequest.method


params​

params: TParams

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