jnylen / kliyente

HTTP Client for Elixir with Content Caching

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kliyente

Kliyente is a HTTP Client that uses Mint and CookieJar for fetching and caching downloads on the harddrive.

Installation

If available in Hex, the package can be installed by adding kliyente to your list of dependencies in mix.exs:

def deps do
  [
    {:kliyente, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/kliyente.

Usage

Kliyente.open("httpbin.org", ssl: true)
|> Kliyente.get("/cookie/set?cooke=value")

Credits

Some parts are copied straight from Mojito and CookieJar.

About

HTTP Client for Elixir with Content Caching


Languages

Language:Elixir 100.0%