property

quic.QuicStream.oninfo

oninfo: undefined | (this: QuicStream, headers: Dict<string | string[]>) => void

The callback to invoke when informational (1xx) headers are received from the server. The callback receives (headers) where headers is an object in the same format as stream.headers. Informational headers are sent before the final response (e.g., 103 Early Hints). Throws ERR_INVALID_STATE if set on a session that does not support headers. Read/write.