Skip to content

ElectronClientRequest.removeHeader method

ElectronClientRequest › removeHeader

Unofficial

Removes a previously set extra header name. This method can be called only before first write. Trying to call it after the first write will throw an error.

Signature:

removeHeader(name: string): void

Parameters:

Parameter Type Description
name string The header name to remove.

Returns: void