update websocket
This commit is contained in:
parent
2e7183b8de
commit
db9671e2df
@ -115,7 +115,7 @@ open class WebSocket : NSObject, StreamDelegate {
|
||||
|
||||
|
||||
// MARK: - Block based API.
|
||||
public var onConnect: ((Void) -> Void)?
|
||||
public var onConnect: (() -> Void)?
|
||||
public var onDisconnect: ((NSError?) -> Void)?
|
||||
public var onText: ((String) -> Void)?
|
||||
public var onData: ((Data) -> Void)?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user