You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2022/07/23 14:44:54 UTC
[dubbo-rust] 31/35: Update client.rs
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch poc-idl
in repository https://gitbox.apache.org/repos/asf/dubbo-rust.git
commit 0a38b4ceabd6c8cdbbf237561d71985b1582b2e3
Author: Johankoi <Jo...@163.com>
AuthorDate: Thu Jul 21 17:17:59 2022 +0800
Update client.rs
port modifiy
---
examples/protobuf-transport/src/client.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/protobuf-transport/src/client.rs b/examples/protobuf-transport/src/client.rs
index 4d598bb..fe29589 100644
--- a/examples/protobuf-transport/src/client.rs
+++ b/examples/protobuf-transport/src/client.rs
@@ -11,7 +11,7 @@ use person::Person;
#[tokio::main]
async fn main() {
- let mut client = RpcClient::new(String::from("http://127.0.0.1:8972"));
+ let mut client = RpcClient::new(String::from("http://127.0.0.1:8975"));
let service_path = String::from("helloworld");
let service_method = String::from("hello");
@@ -30,4 +30,4 @@ async fn main() {
let resPerson = Person::decode(data.as_ref()).unwrap();
println!("resPerson={:?}", resPerson.name);
-}
\ No newline at end of file
+}