grpc_client
grpc_client copied to clipboard
Erlang Client library for gRPC
1. when compile show error deps/http2_client/ebin/http2_client.app" is missing kernel from applications list I change src/http2_client.app.src '{applications, [cowlib]}' to '{applications,[cowlib,kernel,stdlib]}' 2. when connect golang server will show unknown service [https://github.com/grpc/grpc-go/blob/master/server.go](url) ```...
`grpc_client_stream` maybe crash when the connection was closed. `grpc_client_stream.erl` ```erlang rst_stream(#{connection := Connection, stream_id := StreamId} = Stream, ErrorCode) -> grpc_client_connection:rst_stream(Connection, StreamId, ErrorCode), Stream#{state => closed}. ```
Service-Name → ?( {proto package name} "." ) {service name} see https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
This proto: ``` syntax = "proto3"; package mainflux; service ThingsService { rpc CanAccess(AccessReq) returns (ThingID) {} rpc Identify(Token) returns (ThingID) {} } service UsersService { rpc Identify(Token) returns (UserID) {}...
Hi, I noticed weird behavior of the grpc_client in my application. I have a client-server application which uses grpc_client:unary(...) function and external msg encoder. Unfortunately, after sending a large amount...
The module which deals with records needs to be given as input to unary RPC call. This can be presented as a tuple to the Options list that is passed...
I was trying to generate ETCD3 client using the specification attached and Erlang/OTP 20 on MacOS High Sierra. Generated code fails with `unknown service` error. Here is the scenario. Protobuff...
I was trying to generate ETCD3 client using the following specification https://github.com/kragniz/python-etcd3/tree/master/etcd3/proto and Erlang/OTP 20 on MacOS High Sierra. Seems like some code generation options don't work as expected. Protobuff...
Do I need to continuously keep polling for new messages using grpc_client:get(Stream) or will I get an event. Or is there any other way. I am trying to use streaming...
Does grpc_client have (or are planning to have) macaroons support? There is a macaroons library for erlang already https://github.com/kzemek/macaroons maybe just giving support for it is possible?