Skip to content

Commit 36cce4f

Browse files
committed
Remove more doubleEncode stuff
1 parent 4666c24 commit 36cce4f

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

Source/SocketEngine.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ public final class SocketEngine : NSObject, URLSessionDelegate, SocketEnginePoll
6666
/// An array of HTTPCookies that are sent during the connection.
6767
public private(set) var cookies: [HTTPCookie]?
6868

69-
/// Set to `true` if using the node.js version of socket.io. The node.js version of socket.io
70-
/// handles utf8 incorrectly.
71-
public private(set) var doubleEncodeUTF8 = true
72-
7369
/// A dictionary of extra http headers that will be set during connection.
7470
public private(set) var extraHeaders: [String: String]?
7571

@@ -153,8 +149,6 @@ public final class SocketEngine : NSObject, URLSessionDelegate, SocketEnginePoll
153149
connectParams = params
154150
case let .cookies(cookies):
155151
self.cookies = cookies
156-
case let .doubleEncodeUTF8(encode):
157-
doubleEncodeUTF8 = encode
158152
case let .extraHeaders(headers):
159153
extraHeaders = headers
160154
case let .sessionDelegate(delegate):

Source/SocketEngineSpec.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ import Foundation
3939
/// The connect parameters sent during a connect.
4040
var connectParams: [String: Any]? { get set }
4141

42-
/// Set to `true` if using the node.js version of socket.io. The node.js version of socket.io
43-
/// handles utf8 incorrectly.
44-
var doubleEncodeUTF8: Bool { get }
45-
4642
/// An array of HTTPCookies that are sent during the connection.
4743
var cookies: [HTTPCookie]? { get }
4844

0 commit comments

Comments
 (0)