Pike v8.1 release 6

Method Protocols.SocketIO.Client()->emit()


Method emit

final variant void emit(function(mixed, mixed ... :void) ack_cb, string event, mixed ... data)
final variant void emit(string event, mixed ... data)
final variant void emit(function(mixed, mixed ... :void) ack_cb, mapping(string:mixed) options, string event, mixed ... data)
final variant void emit(mapping(string:mixed) options, string event, mixed ... data)

Description

Send text or binary events to the client.