RejectedSoftware Forums

Sign up

sockjs-d a sockjs package for vibe.d

Thanks to Sönke the first early release of my sockjs library for vibe.d is working.

I registered it in dub and you can find it over at github:
https://github.com/Extrawurst/sockjs-d

My time is limited and our usecase here is just for the xhr-polling transport of sockjs, so I will most like not implement any of the others but I hope someone will - just fork it! ;)

Re: sockjs-d a sockjs package for vibe.d

Am 24.10.2013 19:00, schrieb Stephan Dilly:

Thanks to Sönke the first early release of my sockjs library for vibe.d is working.

I registered it in dub and you can find it over at github:
https://github.com/Extrawurst/sockjs-d

My time is limited and our usecase here is just for the xhr-polling transport of sockjs, so I will most like not implement any of the others but I hope someone will - just fork it! ;)

Congrats! I was just about to say that there was already an earlier
attempt, but that was Socket.IO.

Do you use the xhr-polling as a fallback for WebSockets or as really as
the only transport?

Re: sockjs-d a sockjs package for vibe.d

On Thu, 24 Oct 2013 20:17:41 +0200, Sönke Ludwig wrote:

Am 24.10.2013 19:00, schrieb Stephan Dilly:

Thanks to Sönke the first early release of my sockjs library for vibe.d is working.

I registered it in dub and you can find it over at github:
https://github.com/Extrawurst/sockjs-d

My time is limited and our usecase here is just for the xhr-polling transport of sockjs, so I will most like not implement any of the others but I hope someone will - just fork it! ;)

Congrats! I was just about to say that there was already an earlier
attempt, but that was Socket.IO.

Do you use the xhr-polling as a fallback for WebSockets or as really as
the only transport?

Actually it is xhr-polling only, since it is meant to complement my sockjs-client lib for unity:
https://github.com/Extrawurst/sockjs-unity3d-xhr

This way unity3d (a game engine) can connect to our vibe.d server even out of the free version of unity, which prevents you from using raw sockets in any way. And also this kind of connection will work through every bitchy proxy/firewall or whatsoever.

That said it is not my goal to implement all those transports, but I am absolutely open to merge them in if anyone is going to do the work. Could be great for the vibe.d movement.