ElectronNet.request method
ElectronNet › request
Unofficial
Creates aClientRequest 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. Signature:
request(options: string | ElectronClientRequestConstructorOptions): ElectronClientRequestParameters:
| Parameter | Type | Description |
|---|---|---|
| options | string | ElectronClientRequestConstructorOptions | The request options, or the request URL as a string. |
Returns: ElectronClientRequest — The created request.