How can I do a Basic HTTP2 server in PlayFramework 2.X?
Currenly HTTP2 protocol is implementable in production?
How can I do a Basic HTTP2 server in PlayFramework 2.X?
Currenly HTTP2 protocol is implementable in production?
Things have changed since this was first answered and we've worked on implementing HTTP/2 in Akka HTTP since. Akka HTTP has become the default backend for Play in 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 as of writing this comment (early July 2017) support for HTTP/2 is still experimental, which means there's a few missing bits we know we need to implement (and are going to in the coming weeks; In the meantime, feedback from the community trying it out in the real world would be very valuable, thanks!)
No, Play 2 does not yet support HTTP/2. Play uses akka, which does not have HTTP/2 support yet. See this bug: https://github.com/akka/akka/issues/16862
Also read this: https://groups.google.com/forum/#!topic/play-framework-dev/N4GaWYZ19-A
© 2022 - 2024 — McMap. All rights reserved.