Skip to content
tRPC

Partners

Interface: TRPCRequestOptions

On this page

Defined in: packages/client/dist/index.d.mts:27

The options of a call made with the untyped client.

Properties

context?

optional context: OperationContext

Defined in: packages/client/dist/index.d.mts:32

Context for the links, such as a flag a splitLink reads.

See

https://trpc.io/docs/client/links#managing-context


signal?

optional signal: AbortSignal

Defined in: packages/client/dist/index.d.mts:37

Aborts the call. With httpBatchLink, the request is only aborted once every call in its batch is, so an aborted call can still get a result.