Closed
Description
Hi. I get an error while trying to connect to websocket, here is the code:
if let url = NSURL(string: hostws) {
socketClient.openSocketWithURLRequest(request: NSURLRequest(url: url as URL), delegate: self)
}
Response:
Error Domain=SRWebSocketErrorDomain Code=2132 "received bad response code from server 422" UserInfo={NSLocalizedDescription=received bad response code from server 422, HTTPResponseStatusCode=422}
And if I use another "Starscream" library, it connects very well with the same url, but I need the "STOMP" part that this other library doesn't have
Do you have any ideas why that might be the case?