akka/akka-http

Add support for Websockets over HTTP/2 / RFC 8441 on client-side

Offen

#3.710 geöffnet am 17.12.2020

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Scala (598 Forks)batch import
1 - triagedhelp wantednice-to-have (low-prio)t:clientt:coret:http2t:websocket

Repository-Metriken

Stars
 (1.311 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 10h) (2 gemergte PRs in 30 T)

Beschreibung

Server-side #3709

Probably harder to do than on server-side because we currently don't have any API to reuse an existing connection for WebSocket usage. Instead, for HTTP/1.1 we have some fixed logic that allows to create connections just for the use of WebSocket without any dynamic protocol dispatching logic.

Also, the problem is that the user does not know that a given HTTP/2 connection would support WebSocket, so some trial and error would be needed to figure that out.

Contributor Guide