wsSubscribe

Accepted as a no-op for forward compatibility. In RustCFML, clients join rooms only through server-side socket.join(); there is no server-side subscribe to call. Feature-detecting code that calls wsSubscribe() will not error.

wsSubscribe() → returns void

This function requires RustCFML.  Not supported on Lucee, Adobe ColdFusion, etc.

Compatibility

RustCFML:

No-op; room joins are server-side via socket.join().

Links more information about wsSubscribe

Examples
Sample code invoking the wsSubscribe function

Calls to wsSubscribe() are accepted and do nothing; clients join rooms from server code instead.

wsSubscribe();   // no-op

Expected Result: Returns null (void).

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub