SwiftWebSocket icon indicating copy to clipboard operation
SwiftWebSocket copied to clipboard

Substring Method Deprecated -- WebSocket.Swift

Open strikerEng opened this issue 6 years ago • 0 comments

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...]))

strikerEng avatar Jun 12 '18 20:06 strikerEng