Redis client for the Pawn language
More resilient error handling.
Const correctness, include guards, fixed subscriptions and updated the Redis library (thanks @YmerDev)
Reworked Redis_Command
to support splitting again but this time values may contain spaces if they are enclosed in quotes.
Example:
Redis_Command(client, "LPUSH \"Hello World\"");
Fixed Redis_Command
attempting to split input by space to support multiple commands. This has been removed and Redis_Command
now only supports a single command which may contain spaces.
A housekeeping release that resolves some minor issues with pawn.json
.
Rewritten the plugin with cpp_redis in order to provide:
This is a breaking change, please read the new redis.inc
to see the new API.
BindMessage
and SendMessage
(which used LPUSH and BLPOP) have been replaced with the native Redis publish/subscribe mechanism. Please read the relevant documentation for this.
Winter cleaning - removed some unnecessary logging and added a new error type for when the response is not of the expected type.
All runtime problems that aren't fatal will return a value back to Pawn which the user is expected to handle. There will be no logging of runtime issues by the plugin itself.