You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/02/25 09:55:42 UTC

[GitHub] [incubator-brpc] wyz997 opened a new issue #1702: brpc访问grpc server

wyz997 opened a new issue #1702:
URL: https://github.com/apache/incubator-brpc/issues/1702


   有个小问题,在example中的例子中,如果grpc的服务不是直接监听在端口,而是类似于 0.0.0.0:50051/sayhello
   Brpc client有办法设置并访问这个服务吗


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] ehds commented on issue #1702: brpc访问grpc server

Posted by GitBox <gi...@apache.org>.
ehds commented on issue #1702:
URL: https://github.com/apache/incubator-brpc/issues/1702#issuecomment-1052136822


   client直接使用http协议?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wwbmmm commented on issue #1702: brpc访问grpc server

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1702:
URL: https://github.com/apache/incubator-brpc/issues/1702#issuecomment-1060611461


   cntl.http_request().uri().set_path("/sayhello")
   这样?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wyz997 commented on issue #1702: brpc访问grpc server

Posted by GitBox <gi...@apache.org>.
wyz997 commented on issue #1702:
URL: https://github.com/apache/incubator-brpc/issues/1702#issuecomment-1053784952


   > client直接使用http协议?
   
   我看文档,访问grpc的话,protocol应该设置为“h2:grpc”吧。那如何再设置http?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org