Hello!

I made a WebSocket client package for Julia. If possible I would like 
comments and suggestions on it, and if at all possible, bug reports.
My plan is to submit this package to the official package repo, sometime 
soon.
The package is functioning, as I'm currently using it in a chat bot (see 
the back story below), and it supports WebSocket over TLS. It's not quite 
feature complete yet, but has most things.

It's available on GitHub at
https://github.com/dandeliondeathray/DandelionWebSockets.jl

I can't submit it quite yet, because this package requires a specific 
commit in Requests.jl, which hasn't made it into a release, but I expect it 
will soon. The commit added support for HTTP connection upgrades, necessary 
for the WebSocket protocol. It's already in master though, so I expect it 
will be part of the next release. If you're going to test 
DandelionWebSockets.jl, ensure that you have the commit "support for HTTP 
upgrade", with commit id f67347564dea1a20c27acec03947e74d4ff37c08, in your 
Requests.jl repo. Using the latest in master should do it.

Documentation of DandelionWebSockets.jl is still minimal. I plan to add 
more before it's properly released. No good examples are available, but 
I'll make some when I have time. It's being used in DandelionSlack.jl, but 
that's hardly a good example.

Back story:
I decided to make a chat bot in Julia, as a way of learning the language. I 
needed a WebSocket client package for the Slack package I made for the chat 
bot. I decided it was a good learning experience, both for learning Julia 
and WebSockets.

Thanks
Erik Edin

Reply via email to