Change API: no longer have an external name for emit
This commit is contained in:
parent
1be76223a9
commit
b5f747da11
@ -104,7 +104,7 @@ class SocketIOClient: NSObject, SRWebSocketDelegate {
|
|||||||
// Sends a message with multiple args
|
// Sends a message with multiple args
|
||||||
// If a message contains binary we have to send those
|
// If a message contains binary we have to send those
|
||||||
// seperately.
|
// seperately.
|
||||||
func emit(event:String, args:AnyObject...) {
|
func emit(event:String, _ args:AnyObject...) {
|
||||||
if !self.connected {
|
if !self.connected {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user