Skip to content

ClientOptions

Defined in: src/client.ts:13

endpoint: string

Defined in: src/client.ts:14


fetch: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: src/client.ts:23

Injected so the library is runtime-agnostic and testable without a network. Client-certificate material is supplied by the caller’s fetch implementation — in Node that means an Agent/Dispatcher configured with the cert and key. Keeping mTLS configuration outside this library is deliberate: certificate handling is a deployment concern, and the spec requires the submitter to be an interface rather than a location.

(input, init?): Promise<Response>

MDN Reference

RequestInfo | URL

RequestInit

Promise<Response>

(input, init?): Promise<Response>

MDN Reference

string | Request | URL

RequestInit

Promise<Response>