Searched refs:case (Results 1 – 12 of 12) sorted by relevance
| /tonic/tests/integration_tests/tests/ |
| H A D | max_message_size.rs | 196 let case = TestCase { in assert_server_recv_max_success() localVariable 202 assert_test_case(case); in assert_server_recv_max_success() 207 let case = TestCase { in assert_server_recv_max_failure() localVariable 214 assert_test_case(case); in assert_server_recv_max_failure() 219 let case = TestCase { in assert_client_recv_max_success() localVariable 225 assert_test_case(case); in assert_client_recv_max_success() 230 let case = TestCase { in assert_client_recv_max_failure() localVariable 237 assert_test_case(case); in assert_client_recv_max_failure() 241 fn assert_test_case(case: TestCase) { in assert_test_case() 242 let res = max_message_run(&case); in assert_test_case() [all …]
|
| /tonic/tonic-web/src/ |
| H A D | service.rs | 79 case: Case::GrpcWeb { in call() 93 case: Case::immediate(StatusCode::METHOD_NOT_ALLOWED), in call() 102 case: Case::Other { in call() 113 case: Case::immediate(StatusCode::BAD_REQUEST), in call() 125 case: Case<F>, field 164 match this.case.project() { in poll()
|
| H A D | call.rs | 526 for case in cases { in encoding_constructors() 527 headers.insert(header::CONTENT_TYPE, case.0.parse().unwrap()); in encoding_constructors() 528 headers.insert(header::ACCEPT, case.0.parse().unwrap()); in encoding_constructors() 530 assert_eq!(Encoding::from_content_type(&headers), case.1, "{}", case.0); in encoding_constructors() 531 assert_eq!(Encoding::from_accept(&headers), case.1, "{}", case.0); in encoding_constructors()
|
| /tonic/tonic-build/src/ |
| H A D | lib.rs | 361 for case in &[ in test_snake_case() 367 assert_eq!(naive_snake_case(case.0), case.1) in test_snake_case()
|
| /tonic/.github/ISSUE_TEMPLATE/ |
| H A D | feature_request.md | 19 Please describe the use case(s) or other motivation for the new feature.
|
| /tonic/interop/proto/grpc/testing/ |
| H A D | test.proto | 68 // that case.
|
| /tonic/examples/proto/googleapis/google/api/ |
| H A D | resource.proto | 194 // /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and 275 // Occasionally, a field may reference an arbitrary resource. In this case,
|
| H A D | http.proto | 119 // In the case of a repeated type, the parameter can be repeated in the URL 120 // as `...?param=A¶m=B`. In the case of a message type, each field of the 304 // is that the most common use case "{var}" does not capture the leading "/"
|
| /tonic/examples/ |
| H A D | routeguide-tutorial.md | 258 **Note**: The token passed to the `include_proto` macro (in our case "routeguide") is the name of 420 case. This time, however, we need to return a stream of values, rather than a single one. 592 case, we'll start by bringing the generated code into scope: 682 server's responses to a response protocol buffer object (in this case a `Feature`) until there are 774 In this case, we use the [async-stream] crate to generate our outbound stream, yielding
|
| /tonic/tonic-types/ |
| H A D | README.md | 22 The examples bellow cover a basic use case of the [gRPC Richer Error Model].
|
| /tonic/ |
| H A D | CONTRIBUTING.md | 43 supporting details (a test case that demonstrates a bug), providing 75 test case we can use to recreate the problem on our own. If we cannot recreate
|
| /tonic/examples/proto/googleapis/google/pubsub/v1/ |
| H A D | pubsub.proto | 516 // reassign server-side resources, in which case, the client should 827 // value is a single case-sensitive string. Having multiple values (array)
|