SwiftWebSocket
SwiftWebSocket copied to clipboard
Substring Method Deprecated -- WebSocket.Swift
The substring method in the WebSocket needs to be corrected to adhere to the new Swift 4 changes. Lines 1147-1148 to be exact. The correct code is as follows: key = trim(String(line[..<r.lowerBound])) value = trim(String(line[r.upperBound...]))