Closed
Description
I tried to send a cookie to authenticate to the server but nothing has been sent.
When i read the log on server side, the header does not contain the cookie.
Here is my code what i do
let cookieHeader = HTTPCookie.requestHeaderFields(with: self.cookies)
socketClient.openSocketWithURLRequest(request: NSURLRequest(url: url as URL) , delegate: self, connectionHeaders:cookieHeader)
Is it possible to open socket with a cookie which is used to authenticate?
Thank you for your help!