nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.84k stars 304 forks source link

question: subscribe on websocket #144

Open paranic opened 7 years ago

paranic commented 7 years ago

i am sorry but it is not clear on the README does websocket implements subscribe?

nicolasff commented 7 years ago

They do, but websockets were implemented while the protocol was still under development and I would not recommend using this feature. It is half-baked and probably unsafe, which is why it is disabled by default.

ccvca commented 5 years ago

Should be fixed by #156

ccvca commented 5 years ago

@paranic You may try it again with the recent Version.

AllanOricil commented 4 years ago

How can I set the Websocket = true inside the Docker image?

nicolasff commented 4 years ago

@AllanOricil you'll need to change the config file and rebuild the docker image. Alternatively you can start from an existing docker image and use RUN with sed to change the boolean from false to true and tag an image from that.

zak-b2c2 commented 4 years ago

Is this now safe to use? Thanks

nicolasff commented 4 years ago

@zak-b2c2 I have not made any changes to the implementation since this comment, and am unlikely to be able to work on this in the near future.

I would not recommend using this feature.

zak-b2c2 commented 4 years ago

Understood, thanks for the clarification

m986883511 commented 2 years ago

RUN sed -i '2i"websockets": true,' /etc/webdis.prod.json