Popularity
5.6
Growing
Activity
0.0
-
13
4
5
Programming language: Crystal
License: MIT License
Tags:
HTTP
resp-crystal alternatives and similar shards
Based on the "HTTP" category.
Alternatively, view resp-crystal alternatives based on common mentions on social networks and blogs.
-
Cable
An ActionCable "port" to Crystal, framework agnostic, 100% compatible with the ActionCable JS Client -
http-multiserver.cr
Mounting multiple servers via routes (a.k.a. URL mapping) -
http-params-serializable
HTTP params (de)serialization, applicable to URL queries and URL-encoded forms -
ContentDisposition
Crystal shard to create HTTP Content-Disposition headers with proper escaping/encoding of filenames
Get performance insights in less than 4 minutes.
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Promoted
scoutapm.com
Do you think we are missing an alternative of resp-crystal or a related project?
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