Searched refs:origin (Results 1 – 10 of 10) sorted by relevance
| /tonic/examples/src/h2c/ |
| H A D | client.rs | 13 let origin = Uri::from_static("http://[::1]:50051"); in main() localVariable 18 let mut client = GreeterClient::with_origin(h2c_client, origin); in main() 63 let origin = request.uri(); in call() localVariable 66 .uri(origin) in call()
|
| /tonic/tonic/src/client/ |
| H A D | grpc.rs | 38 origin: Uri, field 59 pub fn with_origin(inner: T, origin: Uri) -> Self { in with_origin() 63 origin, in with_origin() 373 let mut parts = self.origin.clone().into_parts(); in prepare_request() 434 origin: self.config.origin.clone(), in clone() 448 .field("origin", &self.config.origin) in fmt()
|
| /tonic/tonic/src/transport/channel/ |
| H A D | endpoint.rs | 21 pub(crate) origin: Option<Uri>, field 123 pub fn origin(self, origin: Uri) -> Self { in origin() method 125 origin: Some(origin), in origin() 448 origin: None, in from()
|
| /tonic/tonic/src/transport/channel/service/ |
| H A D | add_origin.rs | 16 pub(crate) fn new(inner: T, origin: Uri) -> Self { in new() 19 } = origin.into_parts(); in new()
|
| H A D | connection.rs | 60 let origin = endpoint.origin.as_ref().unwrap_or(&endpoint.uri).clone(); in new() localVariable 62 AddOrigin::new(s, origin) in new()
|
| /tonic/tests/integration_tests/tests/ |
| H A D | origin.rs | 51 .origin("https://docs.rs".parse().expect("valid uri")) in writes_origin_header()
|
| /tonic/tonic-build/src/ |
| H A D | client.rs | 80 pub fn with_origin(inner: T, origin: Uri) -> Self { in generate_internal() 81 let inner = tonic::client::Grpc::with_origin(inner, origin); in generate_internal()
|
| /tonic/tonic-health/src/generated/ |
| H A D | grpc_health_v1.rs | 84 pub fn with_origin(inner: T, origin: Uri) -> Self { in with_origin() 85 let inner = tonic::client::Grpc::with_origin(inner, origin); in with_origin()
|
| /tonic/tonic-reflection/src/generated/ |
| H A D | grpc_reflection_v1.rs | 173 pub fn with_origin(inner: T, origin: Uri) -> Self { in with_origin() 174 let inner = tonic::client::Grpc::with_origin(inner, origin); in with_origin()
|
| H A D | grpc_reflection_v1alpha.rs | 173 pub fn with_origin(inner: T, origin: Uri) -> Self { in with_origin() 174 let inner = tonic::client::Grpc::with_origin(inner, origin); in with_origin()
|