Interface: IotaHTTPTransportOptions
Properties
fetch()?
optionalfetch: (input,init?) =>Promise<Response>(input,init?) =>Promise<Response>
Parameters
• input: URL | RequestInfo
• init?: RequestInit
Returns
Promise<Response>
Parameters
• input: string | URL | Request
• init?: RequestInit
Returns
Promise<Response>
WebSocketConstructor()?
optionalWebSocketConstructor: (url,protocols?) =>WebSocket
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