You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
im getting this Assert NSAssert(self.readyState != SR_CONNECTING, @"Invalid State: Cannot call send: until connection is open");
in - (void)send:(id)data;
check code ,I think the problem is that :
StompClient.swift 308
socket?.send(StompCommands.commandPing)
maybe I can alter:
if socket?.readyState == .OPEN {
socket?.send(StompCommands.commandPing)
}
Or have other solving??
The text was updated successfully, but these errors were encountered:
Hi I’m getting "Invalid Sec-WebSocket-Accept response” error when connect to websocket server developed in java spring boot. Java client is able to successfully connect and send message,
Below is our code implementation
import StompClientLib
var socketClient = StompClientLib()
let completedWSURL = "ws://192.168.1.37:8080/iostest/chat"
let Request = NSMutableURLRequest(url: NSURL(string:completedWSURL)! as URL)
socketClient.openSocketWithURLRequest(request:Request, delegate: self as StompClientLibDelegate)
Hi,
im getting this Assert NSAssert(self.readyState != SR_CONNECTING, @"Invalid State: Cannot call send: until connection is open");
in - (void)send:(id)data;
check code ,I think the problem is that :
StompClient.swift 308
socket?.send(StompCommands.commandPing)
maybe I can alter:
if socket?.readyState == .OPEN {
socket?.send(StompCommands.commandPing)
}
Or have other solving??
The text was updated successfully, but these errors were encountered: