Skip to main content

removeHeader

method OutgoingMessage.prototype.removeHeader
Jump to headingOutgoingMessage.prototype.removeHeader(name: string): void

Removes a header that is queued for implicit sending.

outgoingMessage.removeHeader('Content-Encoding');

Parameters Jump to heading

Jump to headingname: string

Header name

Return Type Jump to heading

void
Back to top