Whatever message this page gives is out now! Go check it out!
Functions | Argument | Return Type |
publish | ("channelname", messageBody, {filterOptions} | boolean |
getSubscriberCount | (“channelname”) | boolean |
invokeAndPublish | ("channelName", cfcName, cfcMethod, [function_parameter] ,{custom_options}) | boolean |
Publish("channelname ", messageBody, {filterOptions}); |
getSubscriberCount(“channelname”) |
invokeandPublish("channelname ", cfcName, cfcMethod, [function_parameter] ,{custom_options}) |
wsPublish(“channel name”, messageBody [clustered]) |
wsPublish(“channel name”, messageBody , {filterOptions},[cluster]) <cfset wsPublish("publishdemochannel","Welcome to publishdemo")/> |
WSGetSubscribers("channel") |
WSGetSubscribers ("channlName" ,[clustered]); <cfset wsgetSubscribers(“stocks”, true)> |
WSGetAllChannels ("channel", clustered) <cfset wsgetAllChannels(“stocks” true,)> |
Option | Description |
Enable SSL | Enables Secure Sockets Layer (SSL) for running WebSocket over SSL. |
KeyStore File location | The location of keyStore in server’s file system. For example, C:\OpenSSL\bin\keystore.jks. |
KeyStore password | Password for the keyStore. |
SSL port | Default port is 8543. |