Interface: IotaHTTPTransportOptions
Properties
fetch()?
optionalfetch: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | Request | URL
init?
RequestInit
Returns
Promise<Response>
WebSocketConstructor?
optionalWebSocketConstructor: {(url,protocols?):WebSocket;prototype:WebSocket;CONNECTING:0;OPEN:1;CLOSING:2;CLOSED:3; }
Parameters
url
string | URL
protocols?
string | string[]
Returns
WebSocket
prototype
prototype:
WebSocket
CONNECTING
readonlyCONNECTING:0
OPEN
readonlyOPEN:1
CLOSING
readonlyCLOSING:2
CLOSED
readonlyCLOSED:3
url
url:
string
rpc?
optionalrpc:object
headers?
optionalheaders:HttpHeaders
url?
optionalurl:string
websocket?
optionalwebsocket:WebsocketClientOptions&object
Type Declaration
url?
optionalurl:string
inspector?
optionalinspector:RequestInspector