HTTP Kit WebSocket Client

I'm a little confused how to create an http-kit WebSocket client. There is an example on the site how to create a WebSocket server , and creating a client is probably trivial, but I can’t understand that this is correct. Any examples that are not targeted to Javascript clients?

PS Some discussion on this issue , but only an aleph example, and an indication that the http-kit now supports the WebSocket client.

+6
source share
2 answers

Take a look at clj-wamp . Examples of textbooks did not appear for me

% git clone https://github.com/cgmartin/clj-wamp-example.git % cd clj-wamp-example % lein run 

[Refresh] This is mainly the server side (although the tutorial has a client javascript sample). For the client side, you can check sente and chord .

+1
source

There is no Websocket customer support yet, but there is an additional request for adding customer support, which you can weigh: https://github.com/http-kit/http-kit/issues/69

+7
source

Source: https://habr.com/ru/post/950133/


All Articles