pub fn send_response<T: NameValue>(
        &mut self, conn: &mut super::Connection, stream_id: u64, headers: &[T],
        fin: bool,
    ) -> Result<()> {
        let priority = Default::default();

        self.send_response_with_priority(
            conn, stream_id, headers, &priority, fin,
        )?;

        Ok(())
    }
/// Sends an HTTP/3 response on the specified stream with default priority.
///
/// This method sends the provided `headers` without a body. To include a
/// body, set `fin` as `false` and subsequently call [`send_body()`] with
/// the same `conn` and `stream_id`.
///
/// The [`StreamBlocked`] error is returned when the underlying QUIC stream
/// doesn't have enough capacity for the operation to complete. When this
/// happens the application should retry the operation once the stream is
/// reported as writable again.
///
/// [`send_body()`]: struct.Connection.html#method.send_body
/// [`StreamBlocked`]: enum.Error.html#variant.StreamBlocked
Sends an HTTP/3 response on the specified stream with default priority.
This method sends the provided `headers` without a body.

The [`StreamBlocked`] error is returned when the underlying QUIC stream
doesn't have enough capacity for the operation to complete. When this
happens the application should retry the operation once the stream is
reported as writable again.


Sends an HTTP / 3 response on the specified stream with default priority . This method sends the provided ` headers ` without a body . The [ ` StreamBlocked ` ] error is returned when the underlying QUIC stream doesn ' t have enough capacity for the operation to complete . When this happens the application should retry the operation once the stream is reported as writable again .
pub fn send_response<T: NameValue>(
        &mut self, conn: &mut super::Connection, stream_id: u64, headers: &[T],
        fin: bool,
    ) -> Result<()> {
        let priority = Default::default();
        self.send_response_with_priority(
            conn, stream_id, headers, &priority, fin,
        )?;
        Ok(())
    }
pub fn send_response < T : NameValue > ( & mut self , conn : & mut super :: Connection , stream_id : u64 , headers : & [ T ] , fin : bool , ) -> Result < ( ) > { let priority = Default :: default ( ) ; self . send_response_with_priority ( conn , stream_id , headers , & priority , fin , ) ? ; Ok ( ( ) ) }
Sends an HTTP/3 response on the specified stream with default priority.
Sends an HTTP / 3 response on the specified stream with default priority .
&mut self
conn
&mut super::Connection
stream_id
u64
headers
&[T]
fin
bool
&mut self
conn
&mut super::Connection
stream_id
u64
headers
&[T]
fin
bool