Interface GrpcService

All Superinterfaces:
HttpService, HttpServiceWithRoutes, Service<HttpRequest,HttpResponse>, ServiceWithRoutes<HttpRequest,HttpResponse>, Unwrappable

public interface GrpcService extends HttpServiceWithRoutes
An HttpService that implements the gRPC wire protocol. Interfaces and binding logic of gRPC generated stubs are supported, however compatibility with gRPC's core java API is best effort.

Unsupported features:

  • There are some differences in the HTTP/2 error code returned from an Armeria server vs gRPC server when dealing with transport errors and deadlines. Generally, the client will see an UNKNOWN status when the official server may have returned CANCELED.