nsp should be readonly now

This commit is contained in:
Erik Little 2017-10-21 18:02:56 -04:00
parent 5a85c97f3d
commit 535f1700bf
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ open class SocketIOClient : NSObject, SocketIOClientSpec {
/// ///
/// **Must** start with a `/`. /// **Must** start with a `/`.
@objc @objc
public var nsp = "/" public let nsp: String
/// The session id of this client. /// The session id of this client.
@objc @objc

View File

@ -41,7 +41,7 @@ public protocol SocketIOClientSpec : class {
/// The namespace that this socket is currently connected to. /// The namespace that this socket is currently connected to.
/// ///
/// **Must** start with a `/`. /// **Must** start with a `/`.
var nsp: String { get set } var nsp: String { get }
/// The status of this client. /// The status of this client.
var status: SocketIOStatus { get } var status: SocketIOStatus { get }