Remove more doubleEncode stuff

This commit is contained in:
Erik 2017-05-27 11:46:10 -04:00
parent 4666c24d59
commit 36cce4f969
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D
2 changed files with 0 additions and 10 deletions

View File

@ -66,10 +66,6 @@ public final class SocketEngine : NSObject, URLSessionDelegate, SocketEnginePoll
/// An array of HTTPCookies that are sent during the connection.
public private(set) var cookies: [HTTPCookie]?
/// Set to `true` if using the node.js version of socket.io. The node.js version of socket.io
/// handles utf8 incorrectly.
public private(set) var doubleEncodeUTF8 = true
/// A dictionary of extra http headers that will be set during connection.
public private(set) var extraHeaders: [String: String]?
@ -153,8 +149,6 @@ public final class SocketEngine : NSObject, URLSessionDelegate, SocketEnginePoll
connectParams = params
case let .cookies(cookies):
self.cookies = cookies
case let .doubleEncodeUTF8(encode):
doubleEncodeUTF8 = encode
case let .extraHeaders(headers):
extraHeaders = headers
case let .sessionDelegate(delegate):

View File

@ -39,10 +39,6 @@ import Foundation
/// The connect parameters sent during a connect.
var connectParams: [String: Any]? { get set }
/// Set to `true` if using the node.js version of socket.io. The node.js version of socket.io
/// handles utf8 incorrectly.
var doubleEncodeUTF8: Bool { get }
/// An array of HTTPCookies that are sent during the connection.
var cookies: [HTTPCookie]? { get }