| //! Generic server implementation. |
| //! This module contains the low level components to build a gRPC server. It |
| //! provides a codec agnostic gRPC server handler. |
| //! The items in this module are generally designed to be used by some codegen |
| //! tool that will provide the user some custom way to implement the server that |
| //! will implement the proper gRPC service. Thusly, they are a bit hard to use |
| pub use self::grpc::Grpc; |
| ClientStreamingService, ServerStreamingService, StreamingService, UnaryService, |
| /// A trait to provide a static reference to the service's |
| /// name. This is used for routing service's within the router. |
| /// The `Service-Name` as described [here]. |
| /// [here]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests |
| const NAME: &'static str; |