I'm trying to upload a file from ObjectiveC to a BinaryJS server. I've tried https://github.com/square/SocketRocket with no luck. SocketRocket can't transfer byte arrays, it expects an NSData object or NSString, whereas BinaryJS is expecting an Array.
Any idea what i'm doing wrong or suggestions for a complete library?
thanks in advance!