Home
last modified time | relevance | path

Searched refs:HeaderName (Results 1 – 6 of 6) sorted by relevance

/tonic/tonic/src/metadata/
H A Dkey.rs2 use http::header::HeaderName;
22 pub(crate) inner: http::header::HeaderName,
42 match HeaderName::from_bytes(src) { in from_bytes()
103 let name = HeaderName::from_static(src); in from_static()
126 pub(crate) fn unchecked_from_header_name_ref(header_name: &HeaderName) -> &Self { in unchecked_from_header_name_ref()
127 unsafe { &*(header_name as *const HeaderName as *const Self) } in unchecked_from_header_name_ref() constant
134 pub(crate) fn unchecked_from_header_name(name: HeaderName) -> Self { in unchecked_from_header_name()
H A Dmap.rs1 use http::HeaderName;
217 pub(crate) const GRPC_RESERVED_HEADERS: [HeaderName; 6] = [
218 HeaderName::from_static("te"),
219 HeaderName::from_static("user-agent"),
220 HeaderName::from_static("content-type"),
221 HeaderName::from_static("grpc-message"),
222 HeaderName::from_static("grpc-message-type"),
223 HeaderName::from_static("grpc-status"),
2280 let key = http::header::HeaderName::from_bytes(self.as_bytes()) in entry()
2342 let key = http::header::HeaderName::from_bytes(self.as_bytes()) in entry()
[all …]
/tonic/tests/integration_tests/tests/
H A Dclient_layer.rs1 use http::{header::HeaderName, HeaderValue};
51 HeaderName::from_static("x-test"), in connect_supports_standard_tower_layers()
/tonic/tonic/src/
H A Dstatus.rs7 HeaderName,
588 pub const GRPC_STATUS: HeaderName = HeaderName::from_static("grpc-status");
590 pub const GRPC_MESSAGE: HeaderName = HeaderName::from_static("grpc-message");
592 pub const GRPC_STATUS_DETAILS: HeaderName = HeaderName::from_static("grpc-status-details-bin");
/tonic/interop/src/
H A Dserver.rs3 use http::header::{HeaderMap, HeaderName};
199 let trailer_name = HeaderName::from_static("x-grpc-test-echo-trailing-bin"); in call()
/tonic/tonic-web/src/
H A Dcall.rs7 use http::{header, HeaderMap, HeaderName, HeaderValue};
436 let header_key = HeaderName::try_from(key) in decode_trailers_frame()