resp
Version, currently 0.3.25 versions
github.com/soveran/resp-crystal
Lightweight RESP client
14 stars
5 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
resp:
github: soveran/resp-crystal
version: ~> 0.3.2Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Michel Martens
Dependencies
Development Dependencies
- crotest*github: emancu/crotestdev
README
Resp
Lightweight RESP client that can be used for interacting with Redis and Disque servers.
Usage
require "resp"
client = Resp.new("redis://localhost:6379")
client.call("SET", "foo", "42")
client.call("GET", "foo") #=> "42"
Pipelining
You can pipeline commands by using the queue/commit methods.
require "resp"
client = Resp.new("redis://localhost:6379")
client.queue("ECHO", "foo")
client.queue("ECHO", "bar")
client.commit #=> ["foo", "bar"]
Installation
Add this to your application's shard.yml:
dependencies:
resp:
github: soveran/resp-crystal
branch: master
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.3.2- Tagged
- Apr 6, 2019
- Commit
0277f5e62091- Indexed
- yes
Dependents
Repository
github.com/soveran/resp-crystal
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 24, 2026
- Synced
- Sep 24, 2026
- Versions
- 5