Home
last modified time | relevance | path

Searched defs:B (Results 1 – 12 of 12) sorted by relevance

/tonic/tonic/src/server/
H A Dgrpc.rs222 req: http::Request<B>, in unary()
265 req: http::Request<B>, in server_streaming()
306 req: http::Request<B>, in client_streaming()
339 req: http::Request<B>, in streaming()
366 request: http::Request<B>, in map_request_unary()
399 request: http::Request<B>, in map_request_streaming()
421 response: Result<crate::Response<B>, Status>, in map_response()
460 request: &http::Request<B>, in request_encoding_if_supported()
485 fn compression_override_from_response<B, E>( in compression_override_from_response()
486 res: &Result<crate::Response<B>, E>, in compression_override_from_response()
/tonic/tonic/src/codec/
H A Ddecode.rs59 pub fn new_response<B, D>( in new_response()
61 body: B, in new_response()
81 pub fn new_empty<B, D>(decoder: D, body: B) -> Self in new_empty()
92 pub fn new_request<B, D>( in new_request()
94 body: B, in new_request()
112 fn new<B, D>( in new()
114 body: B, in new()
/tonic/tests/compression/src/
H A Dcompressing_request.rs31 pub fn call<B: Body>(self, req: http::Request<B>) -> http::Request<B> { in client_enabled_server_enabled()
100 fn assert_right_encoding<B>(req: http::Request<B>) -> http::Request<B> { in client_enabled_server_enabled_multi_encoding()
H A Dclient_stream.rs31 pub fn call<B: Body>(self, req: http::Request<B>) -> http::Request<B> { in client_enabled_server_enabled()
93 fn assert_right_encoding<B>(req: http::Request<B>) -> http::Request<B> { in client_disabled_server_enabled()
H A Dbidirectional_stream.rs34 pub fn call<B: Body>(self, req: http::Request<B>) -> http::Request<B> { in client_enabled_server_enabled()
H A Dlib.rs38 fn prepare_response<B>(&self, mut res: Response<B>) -> Response<B> { in prepare_response()
H A Dutil.rs160 pub fn call<B: HttpBody>(self, req: http::Request<B>) -> http::Request<B> { in call()
H A Dcompressing_response.rs277 fn add_weird_content_encoding<B>(mut response: http::Response<B>) -> http::Response<B> { in server_replying_with_unsupported_encoding()
/tonic/tonic-web/src/
H A Dcall.rs88 pub(crate) fn request(inner: B, encoding: Encoding) -> Self { in request()
92 pub(crate) fn response(inner: B, encoding: Encoding) -> Self { in response()
104 fn new_client(inner: B, direction: Direction, encoding: Encoding) -> Self { in new_client()
122 fn new(inner: B, direction: Direction, encoding: Encoding) -> Self { in new()
H A Dservice.rs206 fn coerce_request<B>(mut req: Request<B>, encoding: Encoding) -> Request<Body> in coerce_request()
227 fn coerce_response<B>(res: Response<B>, encoding: Encoding) -> Response<Body> in coerce_response()
/tonic/tonic/src/
H A Dstatus.rs578 pub fn into_http<B: Default>(self) -> http::Response<B> { in into_http()
/tonic/tonic/src/transport/server/
H A Dmod.rs767 fn serve_connection<B, IO, S, E>( in serve_connection()