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

WSS (Secure WebSockets) #1124

Closed calebpower closed 5 years ago

calebpower commented 5 years ago

Terribly sorry if this has already been brought up, I've looked just about everywhere... I'm sure it's right under my nose and I'm just missing it. But, just in case it's a potential new feature I thought I'd put it here instead of Stack Overflow.

So, WebSockets work beautifully (ws://) but I'm having a hard time finding anything on implementing secure WebSockets (wss://). Does anyone know if there's material on opening secure WebSockets?

In the event that this isn't a possibility with Spark right now... here's a feature request!

Thanks in advance!

calebpower commented 5 years ago

I'm just dumb. Traced the codebase all the way to spark.embeddedserver.jetty.EmbeddedJettyServer to find that it was already implemented--standard PEBCAK-originating typo on my end.