New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有 GRPC 客户端完整的使用例子吗? #319
Comments
libhv里集成了nghttp2实现http2协议,而grpc是基于http2的,所以理论上是可以实现grpc的,但是因为grpc绑定了protobuf,通过IDL文件自动生成序列化/反序列化代码,这步libhv还没有很好的集成。 目前可访问grpc服务的步骤为:
2、请求协议采用http2,content-type设置为application/grpc
3、请求body使用protobuf序列化
|
HttpRequest req; HttpResponse res; |
Is there any progress? :) |
Using the Example: char* message = your protobuf serialize code....;
send(message, message.size(), WS_OPCODE_BINARY); |
Only grpc server sample found in this repository.
Is the official grpc c++ library required?
The text was updated successfully, but these errors were encountered: