Skip to main content

HttpSEClientOptions

@totemsdk/statechain


@totemsdk/statechain / HttpSEClientOptions

Interface: HttpSEClientOptions

Properties​

fetch?​

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

Custom fetch implementation. Defaults to global fetch (Node 18+).

Call Signature​

(input, init?): Promise<Response>

MDN Reference

Parameters​
input​

RequestInfo | URL

init?​

RequestInit

Returns​

Promise<Response>

Call Signature​

(input, init?): Promise<Response>

MDN Reference

Parameters​
input​

string | Request | URL

init?​

RequestInit

Returns​

Promise<Response>


timeoutMs?​

optional timeoutMs?: number

Request timeout in milliseconds. Default 30 000.