property
quic.QuicStream.ontrailers
ontrailers: undefined | (this: QuicStream, trailers: Dict<string | string[]>) => void
The callback to invoke when trailing headers are received from the peer. The callback receives (trailers) where trailers is an object in the same format as stream.headers. Throws ERR_INVALID_STATE if set on a session that does not support headers. Read/write.