{"repo":"ra1u/redis-dart","free":true,"listed":false,"github":"https://github.com/ra1u/redis-dart","clone":"git clone https://github.com/ra1u/redis-dart.git","description":"fast redis protocol parser and client","language":"Dart","stars":84,"topics":["dart","redis"],"license":"MIT","category":"databases-storage","readme_excerpt":"Redis client for Dart ===================== Redis protocol parser and client for Dart Fast and simple by design. It requires no external package to run. Supported features: transactions and CAS (check-and-set) pattern pubsub unicode performance and simplicity tls Simple redis is simple serializer and deserializer of the redis protocol with additional helper functions and classes. Redis protocol is a composition of array, strings (and bulk) and integers. For example a SET command might look like this: This enables sending any command. Before sending commands one needs to open a connection to Redis. In the following example we will open a connection to a Redis server running on port 6379, execute the command 'SET key 0' and print the result. Due to the simple implementation, it is possible to execute commands in various ways. In the following example we execute one after the other. Another way is to execute commands without waiting for the previous command to complete, and we can still be sure that the response handled by Future will be completed in the correct order. Difference is that there are five commands in last examples and only one in the previous example. Generic Redis responses and requests can be arbitrarily nested. Mapping Redis Dart ------------- :-------------: String String Integer Integer Array List Error RedisError Bulk String or Binary \\ Both simple string and bulk string from Redis are serialized to Dart string. Strings from Dart to Redis are converted to bul","default_branch":null,"files":null,"tree":[],"storefront":"/r/ra1u","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ra1u/redis-dart/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}