Skip to main content
Module

x/enzastdlib/rpc-protocol/mod.ts>CallOptions

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
interface CallOptions
Re-export
import { type CallOptions } from "https://deno.land/x/enzastdlib@v0.0.4/rpc-protocol/mod.ts";

Represents an optional object that can be set when making a call to a server.

Properties

readonly
optional
metadata: Payload["metadata"]

Represents data that should be associated with the server call but not apart of its normal body. ex. authentication tokens

readonly
optional
signal: AbortSignal

Represents a signal that allows you to abort an ongoing call to the server.

NOTE: The client transport layer has to implement support for this feature. ex. whatever implements ClientOptions.processProcedure.