Pike v8.1 release 6

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


Method write

final void write(array data, void|function(mixed, mixed ... :void) ack_cb, void|mapping(string:mixed) options)

Description

Send text or binary messages to the client. When in doubt use the emit() interface instead. write() allows messages to be sent which do not have a string event-name up front.