method
quic.QuicStream.setPriority
): void;
Sets the priority of the stream. Throws ERR_INVALID_STATE if the session does not support priority (e.g. non-HTTP/3). Has no effect if the stream has been destroyed.
Referenced types
interface StreamPriority
- incremental: boolean
Whether the stream data should be interleaved with other streams of the same priority level.