Thread overview
gRPC for D is released.
4 days ago
Brian
4 days ago
bachmeier
4 days ago
April Nassi
4 days ago
aberba
3 days ago
Brian
4 days ago
hunt-grpc is Grpc for D programming language, hunt-http library based.





example server code:

  import helloworld.helloworld;
  import helloworld.helloworldrpc;
  import grpc;

  class GreeterImpl : GreeterBase
  {
      override HelloReply SayHello(HelloRequest request)
      {
          HelloReply reply = new HelloReply();
          reply.message = "hello " ~ request.name;
          return reply;
      }
  }

  string host = "0.0.0.0";
  ushort port = 50051;

  Server server = new Server();
  server.listen(host , port);
  server.register( new GreeterImpl());
  server.start();





example client code:

  import helloworld.helloworld;
  import helloworld.helloworldrpc;
  import grpc;

  auto channel = new Channel("127.0.0.1" , 50051);
  GreeterClient client = new GreeterClient(channel);

  HelloRequest request = new HelloRequest();
  request.name = "test";
  HelloReply reply = client.SayHello(request);





build for library:

dub build -v





build for example:

dub build -c=example -v




hunt-grpc project:
https://github.com/huntlabs/hunt-grpc

4 days ago
On Thursday, 11 October 2018 at 12:15:43 UTC, Brian wrote:
> hunt-grpc is Grpc for D programming language, hunt-http library based.
[...]
> hunt-grpc project:
> https://github.com/huntlabs/hunt-grpc
Interesting! D might be a candidate for being added here later:

https://grpc.io/

"go straight to Quick Start in the language of your choice:"
4 days ago
On Thursday, 11 October 2018 at 12:15:43 UTC, Brian wrote:
> hunt-grpc is Grpc for D programming language, hunt-http library based.

>
> hunt-grpc project:
> https://github.com/huntlabs/hunt-grpc

Could you at least link to https://grpc.io/about/ so others know what this is?
4 days ago
Hi! I'm the community manager for gRPC and this is awesome! Would love to add this to our ecosystem repo. Would also be great to have you talk about this on an upcoming community call!


4 days ago
On Thursday, 11 October 2018 at 16:19:07 UTC, April Nassi wrote:
> Hi! I'm the community manager for gRPC and this is awesome! Would love to add this to our ecosystem repo. Would also be great to have you talk about this on an upcoming community call!

That'll be nice.
3 days ago
On Thursday, 11 October 2018 at 16:19:07 UTC, April Nassi wrote:
> Hi! I'm the community manager for gRPC and this is awesome! Would love to add this to our ecosystem repo. Would also be great to have you talk about this on an upcoming community call!

Thanks,
e-mail: zoujiaqing@gmail.com