Sha256: ef35f5638d148396e3ea0b83c1cf371120844796d84cc26f922af6f67a67cd0f

Contents?: true

Size: 664 Bytes

Versions: 1

Compression:

Stored size: 664 Bytes

Contents

# Faraday::CookieJar

Faraday middleware to manage client-side cookies

## Description

This gem is a piece of Faraday middleware that adds client-side Cookies management, using [cookiejar gem](https://github.com/dwaite/cookiejar).

## Installation

Add this line to your application's Gemfile:

    gem 'faraday-cookie_jar'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install faraday-cookie_jar

## Usage

```ruby
require 'faraday-cookie_jar'

conn = Faraday.new(:url => "http://example.com") do |builder|
  builder.use :cookie_jar
end

conn.get "/foo"  # gets cookie
conn.get "/bar"  # sends cookie
```

## Author

Tatsuhiko Miyagawa

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faraday-cookie_jar-0.0.2 README.md