barehttp 0.1.0

Blocking HTTP/1.1 client for no_std + alloc
Documentation
1
2
3
4
5
6
7
8
9
//! ExtensionMethod fields are private (opaque token storage).
use barehttp::Method;

fn main() {
  let m = Method::new("CUSTOM").unwrap();
  if let Method::Extension(em) = m {
    let _ = em.token;
  }
}