| /tonic/tonic-build/src/ |
| H A D | manual.rs | 65 methods: Vec<Method>, 95 pub fn method(mut self, method: Method) -> Self { in method() 123 methods: Vec<Method>, 136 type Method = Method; typedef 150 fn methods(&self) -> &[Self::Method] { in methods() argument 161 pub struct Method { struct 182 impl Method { argument 189 impl crate::Method for Method { implementation 340 pub fn build(self) -> Method { in build() argument 341 Method { in build()
|
| H A D | lib.rs | 108 type Method: Method; typedef 117 fn methods(&self) -> &[Self::Method]; in methods() argument 128 pub trait Method { trait 211 fn format_method_path<T: Service>(service: &T, method: &T::Method, emit_package: bool) -> String { in format_method_path() argument 219 fn format_method_name<T: Service>(service: &T, method: &T::Method, emit_package: bool) -> String { in format_method_name() argument
|
| H A D | client.rs | 3 use super::{Attributes, Method, Service}; 223 method: &T::Method, in generate_unary() argument 254 method: &T::Method, in generate_server_streaming() argument 285 method: &T::Method, in generate_client_streaming() argument 316 method: &T::Method, in generate_streaming() argument
|
| H A D | prost.rs | 5 use prost_build::{Config, Method, Service}; 98 prost_method: Method, 103 type Method = TonicBuildMethod; typedef 122 fn methods(&self) -> &[Self::Method] { in methods() argument 127 impl crate::Method for TonicBuildMethod {
|
| H A D | server.rs | 3 use super::{Attributes, Method, Service}; 435 fn generate_unary<T: Method>( in generate_unary() 493 fn generate_server_streaming<T: Method>( in generate_server_streaming() 560 fn generate_client_streaming<T: Method>( in generate_client_streaming() 618 fn generate_streaming<T: Method>( in generate_streaming()
|
| /tonic/tonic-web/src/ |
| H A D | service.rs | 6 use http::{header, HeaderMap, HeaderValue, Method, Request, Response, StatusCode, Version}; 32 method: &'a Method, 72 method: &Method::POST, in call() 190 fn new(headers: &'a HeaderMap, method: &'a Method, version: Version) -> Self { in new() argument 293 .method(Method::POST) in request() 333 Method::GET, in only_post_and_options_allowed() 334 Method::PUT, in only_post_and_options_allowed() 335 Method::DELETE, in only_post_and_options_allowed() 336 Method::HEAD, in only_post_and_options_allowed() 337 Method::PATCH, in only_post_and_options_allowed() [all …]
|
| /tonic/examples/ |
| H A D | build.rs | 57 tonic_build::manual::Method::builder() in build_json_codec_service()
|
| /tonic/tests/web/tests/ |
| H A D | grpc_web.rs | 8 use hyper::{Method, Request, Uri}; 127 .method(Method::POST) in build_request()
|
| /tonic/tonic/src/ |
| H A D | request.rs | 177 method: http::Method, in into_http() argument 458 http::Method::POST, in reserved_headers_are_excluded()
|
| /tonic/tonic/src/service/ |
| H A D | interceptor.rs | 332 assert_eq!(request.method(), http::Method::OPTIONS); in doesnt_change_http_method() 340 .method(http::Method::OPTIONS) in doesnt_change_http_method()
|
| /tonic/tonic/src/client/ |
| H A D | grpc.rs | 392 http::Method::POST, in prepare_request()
|