isapir / lucee-websocket

Enables server WebSockets for Lucee via JSR-356 compliant servlet containers (e.g. Tomcat 8, Jetty 9.1, etc.)
GNU Lesser General Public License v2.1
17 stars 6 forks source link

WebSocket API does not implement getChannels() #1

Closed redtopia closed 7 years ago

redtopia commented 7 years ago

The Wiki for the WebSocket API indicates that getChannels() returns an Array with the names of the channels to which this connection is subscribed. When calling this method from the onMessage() method of a listener, I get a not implemented error.

redtopia commented 7 years ago

After installing the update for the websocket extension, Lucee didn't actually reload the extension. After restarting Lucee, getChannels() works.