wtx 0.28.0

A collection of different transport implementations and related tools focused primarily on web technologies.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{
  http::{Method, Protocol, ReqResBuffer},
  http2::u31::U31,
};
use core::task::Waker;

#[derive(Debug)]
pub(crate) struct InitialServerHeader {
  pub(crate) method: Method,
  pub(crate) protocol: Option<Protocol>,
  pub(crate) rrb: ReqResBuffer,
  pub(crate) stream_id: U31,
  pub(crate) waker: Waker,
}