Closed
Description
Hi. I get an error while trying to connect to websocket, here is the code:
let request = NSURLRequest(url: url)
socketClient.openSocketWithURLRequest(request: request, delegate: self, connectionHeaders:["Authorization": "Bearer \(token)"])
Response:
received bad response code from server 401
Do you have any ideas why that might be the case?