property

quic.QuicStream.onwanttrailers

onwanttrailers: undefined | (this: QuicStream) => void

The callback to invoke when the application is ready for trailing headers to be sent. This is called synchronously — the user must call stream.sendTrailers() within this callback. Throws ERR_INVALID_STATE if set on a session that does not support headers. Read/write.