Sends messages to a specific client that invokes the method. This can be included as a part of the function that is called by the invoke WebSocket JavaScript method.

wsSendMessage(message); → returns void

This function requires Adobe ColdFusion 10 and up.  Not supported on Lucee, etc.

Argument Reference

message any

The message object. This can be of type Any.

Sample code invoking the wsSendMessage function

Fork me on GitHub