tidwall / SwiftWebSocket

Fast Websockets in Swift for iOS and OSX
MIT License
1.53k stars 246 forks source link

How do I get the HTTP response headers? #152

Closed aofei closed 4 years ago

aofei commented 4 years ago

Sorry, I don't know where to get the HTTP response headers. Maybe this project should add new WebSocketEvents for this purpose, such as WebSocketEvents.httpResponseHeaders or something else. FYI, the daltoniam/Starscream has the WebSocket.onHttpResponseHeaders.