Skip to main content
method Http2ServerResponse.prototype.addTrailers
Http2ServerResponse.prototype.addTrailers(trailers: OutgoingHttpHeaders): void
Deprecated

This method adds HTTP trailing headers (a header but at the end of the message) to the response.

Attempting to set a header field name or value that contains invalid characters will result in a TypeError being thrown.

Parameters

Return Type

void
Back to top