Searched refs:HeaderMap (Results 1 – 5 of 5) sorted by relevance
| /wasmtime-44.0.1/crates/wasi-http/src/ |
| H A D | field_map.rs | 2 use http::{HeaderMap, HeaderName, HeaderValue}; 25 map: Arc<HeaderMap>, 38 Self::new_immutable(HeaderMap::default()) in default() 48 pub fn new_immutable(map: HeaderMap) -> Self { in new_immutable() 63 map: Arc::new(HeaderMap::new()), in new_mutable() 71 pub(crate) fn content_size(map: &HeaderMap) -> usize { in content_size() 144 fn mutable(&mut self) -> Result<(&mut HeaderMap, usize, &mut usize), FieldMapError> { in mutable() argument 211 type Target = HeaderMap; 213 fn deref(&self) -> &HeaderMap { in deref() argument 218 impl From<FieldMap> for HeaderMap { implementation
|
| H A D | lib.rs | 31 fn get_content_length(headers: &http::HeaderMap) -> wasmtime::Result<Option<u64>> { in get_content_length()
|
| /wasmtime-44.0.1/crates/wasi-http/src/p2/ |
| H A D | body.rs | 159 Trailers(Option<http::HeaderMap>), 322 Done(Result<Option<http::HeaderMap>, types::ErrorCode>), 556 Trailers(hyper::HeaderMap),
|
| H A D | types.rs | 22 headers: &mut http::HeaderMap, in remove_forbidden_headers() argument
|
| /wasmtime-44.0.1/crates/wasi-http/tests/all/p3/ |
| H A D | mod.rs | 478 let mut trailers = http::HeaderMap::new(); in test_http_echo()
|