timw opened a new pull request, #615: URL: https://github.com/apache/pekko-grpc/pull/615
This adds pekko-http directives that detect grpc/grpc-web requests. This support integration of grpc endpoints alongside other HTTP requests on the same server binding (e.g. HTTP based /healthz handlers etc.) and different handling for different protocol types (e.g. enforcing `Strict-Transport-Security` for grpc-web requests). Java and Scala DSLs are provided. Currently the Java DSL uses the `@InternalApi` `RouteHandler` from pekk-http - this could be copied in-tree if that's not considered maintainable. The `GrpcProtocol.detect` hasn't been used, as it doesn't check the main type of the MediaType at present - alternatively that could be changed and used for this purpose as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
