Socket.IO-Client-Swift icon indicating copy to clipboard operation
Socket.IO-Client-Swift copied to clipboard

socket.io-client for Swift

Results 53 Socket.IO-Client-Swift issues
Sort by recently updated
recently updated
newest added

Why I cannot close completely? private var mClient: SocketIOClient? init( ... ) { mClient = SocketIOClient(socketURL: NSURL(string: host)!, options: [.Log(true), .ForcePolling(false)]) } mClient?.removeAllHandlers() mClient?.disconnect() mClient = nil After closed, my...

Since commit https://github.com/nuclearace/Socket.IO-Client-Swift/commit/b67b6abbdfaa87abcf86ae7ec72da0f951e73b7a connectParams passed to `SocketIOClient` init escaped in a wrong way. For example, I pass a dictionary with “session_id” parameter which may look as `hGx+u1d/ozkpZ5gQ==`. On the server...

Hello! Please help me to solve this problem. Thanks in advance! Code: self.socket = [[SocketIOClient alloc] initWithSocketURL:url options:@{@"log":@YES, @"forcePolling":@YES, @"nsp":@"/im", @"ConnectParams":@{@"token":self.demo_Token}}]; ``` [self.socket on:@"connect" callback:^(NSArray * _Nonnull data, SocketAckEmitter *...

hi every one I am using socket.io and connecting to server but is does't work i am showing socket status in timer and it keeps giving output like this Got...

When I try to connect to my host I get an error that says "The request timed out." This is my code: ``` class ViewController: UIViewController { let socket =...

Crash Log: Thread : Crashed: com.apple.root.default-qos 0 ChatApp 0x10026d52c WebSocket.(processHTTP in C2307A22F9F30AFA570E15263510F43A)(UnsafePointer, bufferLen : Int) -> Bool (WebSocket.swift:392) 1 ChatApp 0x10026c804 WebSocket.(processInputStream in C2307A22F9F30AFA570E15263510F43A)() -> () (WebSocket.swift:322) 2 ChatApp 0x100275b40...

let params:Dictionary = ["authtoken":auth!,"namespace":"[email protected]","owner_id":ownerId,"status":"online","addas":["1","2"]] ``` socket = SocketIOClient(socketURL: "192.168.1.80:3310",options:[.ConnectParams(params),.Log(true),.ForceWebsockets(true)]) socket.connect(); ``` I am using above code ......app is crashing...when connecting.. if i remove addas parameter = ["1","2"].....it runs fine.....i guess...

Hello, I get an error when I try to deallocate the socket, the case is the following: sometimes I need to change the connect params of the socket so I...

Hello, For some reason, i cannot connect socket.io to a remote server. When using localhost it worked fine, but when switching, nothing happens. Any help?

unconfirmed