akka/akka-http

User API for websocket close with code and reason

Open

#2458 aperta il 11 mar 2019

Vedi su GitHub
 (15 commenti) (5 reazioni) (0 assegnatari)Scala (598 fork)batch import
1 - triagedhelp wantedt:coret:websocket

Metriche repository

Star
 (1311 star)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

A web socket connection can be closed with an application level status code (4000-4999) see https://tools.ietf.org/html/rfc6455#section-7.4 but we have no user level API for this in Akka HTTP.

Guida contributor