socket.IO-objc icon indicating copy to clipboard operation
socket.IO-objc copied to clipboard

Add path support

Open tstonis opened this issue 10 years ago • 1 comments

I only tested this on socket.io v1.0, but looks like should also work with v0.9 (where used to be called a resource). I auto-synthesized the property - hope that's okay. I tested without a path and also with a path (going through nginx reverse proxy) and seems to work fine.

tstonis avatar Feb 07 '15 16:02 tstonis

Thanks a bunch for your contribution! Keep them coming! Will merge on Monday,

Best, F

Sent from my iPhone

On Feb 7, 2015, at 11:46 AM, tstonis [email protected] wrote:

I only tested this on socket.io v1.0, but looks like should also work with v0.9 (where used to be called a resource). I auto-synthesized the property - hope that's okay. I tested without a path and also with a path (going through nginx reverse proxy) and seems to work fine.

You can view, comment on, or merge this pull request online at:

https://github.com/francoisp/socket.IO-objc/pull/4

Commit Summary

Add support for a path in the URL Add a default path of "" File Changes

M SocketIO.h (1) M SocketIO.m (11) M SocketIOTransport.h (1) M SocketIOTransportWebsocket.m (12) M SocketIOTransportXHR.m (12) Patch Links:

https://github.com/francoisp/socket.IO-objc/pull/4.patch https://github.com/francoisp/socket.IO-objc/pull/4.diff — Reply to this email directly or view it on GitHub.

francoisp avatar Feb 08 '15 01:02 francoisp