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
|
||||
// If a message contains binary we have to send those
|
||||
// seperately.
|
||||
func emit(event:String, args:AnyObject...) {
|
||||
func emit(event:String, _ args:AnyObject...) {
|
||||
if !self.connected {
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user