sunng87 / ring-jetty9-adapter

An enhanced version of jetty adapter for ring, with additional features like websockets, http/2 and http/3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lein uberwar - websocket ?

amitvshah25 opened this issue · comments

First of all, thanks for a great library ! This works great when running in my DEV environment. However in QA and PROD environments, we have a jetty running and several web-applications that need to run under that. I am trying the lein uberwar, but I am not able to figure out how to get the :websockets option that we pass to run-jetty - to be specified in uberwar .. ?

hi @amitvshah25 , by creating a war package, you are deploying your application into a running jetty instance. However, this adapter uses embedded jetty to provide websocket via jetty apis.

I'm not sure if it's possible to use websocket from a war package. But at the moment it's not supported by this rj9a.