method
quic.QuicStream.sendTrailers
headers: Dict<string | string[]>
): boolean;
Sends trailing headers on the stream. Must be called synchronously during the stream.onwanttrailers callback, or set ahead of time via stream.pendingTrailers. Throws ERR_INVALID_STATE if the session does not support headers.
@param headers
Trailing header object. Pseudo-headers must not be included in trailers.