perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.63k stars 1.56k forks source link

How not to use Jetty websocket (listen to raw upgrade requests) #1110

Closed SuperOP535 closed 5 years ago

SuperOP535 commented 5 years ago

I'm so tired of Jetty after hours of trying to figure the API out with their old and horrible docs and how to correctly reject handshakes because header x is missing and all that so now I want to use anything but Jetty. I want to listen to the raw upgrade request so that I can handle everything on my own, is this possible? (websocket)

SuperOP535 commented 5 years ago

So yeah I used before to do the rejection and stuff but I'd love if this was possible because I still dislike how the Jetty WebSockets work and would love to use another library.