PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV 24 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Publishes a message on a Redis broadcast channel.
Example
RedisPublish(gRedis, "MyChannel", "Hello Redis from WINDEV")
Syntax
<Result> = RedisPublish(<Connection> , <Channel> , <Message>)
<Result>: Integer
Number of applications that received the message.
Note: This information is not available when connecting to a Redis cluster.
<Connection>: redisConnection variable
Name of the redisConnection variable that corresponds to the Redis server connection.
<Channel>: Character string (with quotes)
Name of the channel on which the message must be published. This string is encoded in UTF8 format.
<Message>: Character string or Buffer
Message to publish on the channel:
  • If it is a String parameter, it will be converted to UTF8 format.
  • If it is a Buffer parameter, it will be sent in binary format.
Component : wd240big.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment