Sha256: 66919f2256e5264213d82d720eb5550d0aeafc00dc72d76e14c21c70250c64d6

Contents?: true

Size: 389 Bytes

Versions: 5

Compression:

Stored size: 389 Bytes

Contents

# grenache-ruby-http

# Configuration

```ruby
Grenache::Base.configure do |conf|
    conf.grape_address = "http://10.0.0.1:30002"
end
```

# Usage

## Announce a service

```ruby
c = Grenache::BaseHttp.new

c.listen("test",5001) do |env|
    req = Oj.load(env['rack.input'].read)
    [200,nil,"hello #{req}"]
end
```


## calling a remote service

```ruby
c.request('test', 'world')
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
grenache-ruby-http-0.1.2 README.md
grenache-ruby-http-0.1.1 README.md
grenache-ruby-http-0.1.0 README.md
grenache-ruby-http-0.0.6 README.md
grenache-ruby-http-0.0.5 README.md