Am 09.11.2015 um 20:45 schrieb Kemonozume:

Hi,
i started learning D last weekend and tried to port an old project of mine to D as an exercise and noticed that for now there is no websocket client implementation for D.
So instead of porting my project i tried to add support for a websocket client to websocket.d.

I managed to make most of it work, i can connect to an echo server just fine and read/send text messages but i have some problems adding ping/pong messages and need some help with it.

Since im a beginner in D the quality of the code should be pretty bad and i hope someone could check it out and give some Feedback or change it.

https://github.com/Kemonozume/vibe.d/commit/e5b6a4a9a5c5b5ab4775c3bfb269731b410ab5ee
here are the changes i made to websocket.d and url.d

cheers
Kemonozume

p.s. since im new to github and making pull requests etc. i thought asking here would be the best thing to do for now. Hope nobody minds!

Hi,
the changes basically look good, I'll just comment on some smaller
findings later. Regarding the ping messages I'll have to take some more
time to look at this in more detail (and by actually running the code).

Since GitHub provides a pretty nice way to comment on individual commits
and lines in the diff, I'd indeed suggest to open a pull request, so
that we can take the discussion there (but the forums are generally fine
for that, too!)