Documentation / @imvu/xmlrpc / XmlRpcGatewayOptions
Interface: XmlRpcGatewayOptions
Defined in: packages/xmlrpc/src/XmlRpcGateway.ts:43
Properties
endpoints?
ts
endpoints?: Partial<Record<XmlRpcHost, string>>;Defined in: packages/xmlrpc/src/XmlRpcGateway.ts:47
Override individual endpoints (e.g. to route through a proxy).
fetch?
ts
fetch?: (input, init?) => Promise<Response>;Defined in: packages/xmlrpc/src/XmlRpcGateway.ts:45
The fetch implementation to use. Defaults to the global fetch.
Parameters
| Parameter | Type |
|---|---|
input | RequestInfo | URL |
init? | RequestInit |
Returns
Promise<Response>
maxPowRetries?
ts
maxPowRetries?: number;Defined in: packages/xmlrpc/src/XmlRpcGateway.ts:56
Maximum PoW retry attempts per call. Defaults to 3.
proofOfWork?
ts
proofOfWork?: ProofOfWorkHandler;Defined in: packages/xmlrpc/src/XmlRpcGateway.ts:54
When set, fault 110 triggers this handler and the call is retried. If unset, fault 110 throws like any other fault.
session?
ts
session?: XmlRpcSession;Defined in: packages/xmlrpc/src/XmlRpcGateway.ts:49
Resume a previously issued session instead of logging in.