property

quic.StreamDestroyOptions.reason

reason?: string

An optional human-readable reason string. Accepted for symmetry with session.close() and session.destroy(), but not transmitted on the wire — neither RESET_STREAM nor STOP_SENDING carry a reason field. Provided for application logging and for use by the stream.onerror callback.