Rob Smith
08/26/2021, 8:08 PMwire
and an rpc call that returns google.protobuf.Empty
service AService {
rpc Working(AParam) returns (AReturn)
rpc Fails(AParam) returns (google.protobuf.Empty)
}
Rob Smith
08/26/2021, 8:09 PMWorking
works, but the call to Fails
fails with a gRPC transport error.Rob Smith
08/26/2021, 8:09 PMRob Smith
08/26/2021, 8:12 PMval client = GrpcClientProvider.grpcClient.create(AServiceClient::class)
val request = AParam()
val result = client.Working().execute(request)
Benoit Quenaudon
09/21/2021, 1:59 PMRob Smith
09/24/2021, 2:59 PMRob Smith
10/15/2021, 5:18 PMBenoit Quenaudon
10/15/2021, 5:20 PM