HTTP2 protocol with playframewok

How can I make a basic HTTP2 server in PlayFramework 2.X?

Currenly HTTP2 protocol can be implemented in production?

+7
playframework
source share
2 answers

Everything has changed since it was first received, and we worked to use HTTP / 2 in Akka HTTP. Akka HTTP became the default backend for Play in version 2.6, so now it can be used.

Documentation: https://www.playframework.com/documentation/2.6.x/AkkaHttpServer#HTTP/2-support-(experimental)

Please note that since this comment was written (in early July 2017), HTTP / 2 support is still experimental, which means that there are a few missing bits that we know that we need to implement (and they will appear in the coming weeks; at the same time, community feedback using it in the real world would be very valuable, thanks!)

+5
source

No, Play 2 does not yet support HTTP / 2. Play uses akka, which does not yet have HTTP / 2 support. See this error: https://github.com/akka/akka/issues/16862

Also read the following: https://groups.google.com/forum/#!topic/play-framework-dev/N4GaWYZ19-A

+2
source

All Articles