Lines Matching refs:Method
15 use hyper::Method;
42 types::Method::Get => Method::GET, in handle()
43 types::Method::Head => Method::HEAD, in handle()
44 types::Method::Post => Method::POST, in handle()
45 types::Method::Put => Method::PUT, in handle()
46 types::Method::Delete => Method::DELETE, in handle()
47 types::Method::Connect => Method::CONNECT, in handle()
48 types::Method::Options => Method::OPTIONS, in handle()
49 types::Method::Trace => Method::TRACE, in handle()
50 types::Method::Patch => Method::PATCH, in handle()
51 types::Method::Other(m) => match hyper::Method::from_bytes(m.as_bytes()) { in handle()