akka/akka-http

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

開放

#3,710 建立於 2020年12月17日

 (0 則留言) (0 個反應) (0 位負責人)Scala (598 個分叉)batch import
1 - triagedhelp wantednice-to-have (low-prio)t:clientt:coret:http2t:websocket

倉庫指標

星標
 (1,311 顆星)
PR 合併指標
 (平均合併 1天 10小時) (30 天內合併 2 個 PR)

描述

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.

貢獻者指南