Properties
Functions
Link copied to clipboard
abstract fun fetch(input: GlobalRequest, init: NetFetchInit = definedExternally): Promise<GlobalResponse>
see Response.
Link copied to clipboard
Creates a ClientRequest instance using the provided options which are directly forwarded to the ClientRequest constructor. The net.request method would be used to issue both secure and insecure HTTP requests according to the specified protocol scheme in the options object.
Link copied to clipboard
abstract fun resolveHost(host: String, options: ResolveHostOptions = definedExternally): Promise<ResolvedHost>
Resolves with the resolved IP addresses for the host.