nsp should be readonly now
This commit is contained in:
parent
5a85c97f3d
commit
535f1700bf
@ -47,7 +47,7 @@ open class SocketIOClient : NSObject, SocketIOClientSpec {
|
||||
///
|
||||
/// **Must** start with a `/`.
|
||||
@objc
|
||||
public var nsp = "/"
|
||||
public let nsp: String
|
||||
|
||||
/// The session id of this client.
|
||||
@objc
|
||||
|
||||
@ -41,7 +41,7 @@ public protocol SocketIOClientSpec : class {
|
||||
/// The namespace that this socket is currently connected to.
|
||||
///
|
||||
/// **Must** start with a `/`.
|
||||
var nsp: String { get set }
|
||||
var nsp: String { get }
|
||||
|
||||
/// The status of this client.
|
||||
var status: SocketIOStatus { get }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user