CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

VPSocketIO 1.0.5

VPSocketIO 1.0.5

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Feb 2018

Maintained by Vasily Popov.



  • By
  • Vasily Popov

Socket.IO client for iOS. Supports socket.io 2.0+

It's based on a official Swift library from here: SocketIO-Client-Swift

It uses Jetfire Jetfire

Objective-C Example

#import <SocketIO-iOS/SocketIO-iOS.h>;
NSURL* url = [[NSURL alloc] initWithString:@"http://localhost:8080"];
SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{@"log": @YES];

[socket on:@"connect" callback:^(NSArray* data, SocketAckEmitter* ack) {
    NSLog(@"socket connected");
}];

[socket connect];

Features

  • Supports socket.io 2.0+
  • Supports binary
  • Supports Polling and WebSockets
  • Supports TLS/SSL

License

MIT