Header menu logo fable-electron-docs-api

ClientRequest Module

Types and nested modules

Type/Module Description

Login

GetUploadProgress

IOnLogin

Emitted when an authenticating proxy is asking for user credentials.The callback function is expected to be called back with user credentials:* username string* password stringProviding empty credentials will cancel the request and report an authentication error on the response object:

IOnRedirect

Emitted when the server returns a redirect response (e.g. 301 Moved Permanently). Calling request.followRedirect will continue with the redirection. If this event is handled, request.followRedirect must be called synchronously, otherwise the request will be cancelled.

Options

Type something to start searching.