wtx 0.44.1

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
create_enum! {
  #[derive(Clone, Copy, Debug, Default, PartialEq)]
  /// HTTP version
  pub enum Version<u8> {
    /// HTTP/1
    Http1 = (0, "HTTP/1"),
    /// HTTP/1.1
    Http1_1 = (1, "HTTP/1.1"),
    /// HTTP/2
    #[default]
    Http2 = (2, "HTTP/2"),
  }
}