README.md

# ReqVCR

ReqVCR is a [Req](https://github.com/wojtekmach/req) plugin to record and replay HTTP requests.

## Installation

```elixir
Mix.install([
  {:req, "~> 0.4"},
  {:req_vcr, "~> 0.1"}
])
```

```elixir
iex> req = Req.new(url: "https://example.com")
iex> vcr = ReqVCR.attach(req, mode: :record)

iex> Req.request!(vcr) |> Req.Response.get_option(:vcr)
  %{recorded: true, recorded_at: ~N[2000-01-01 00:00:00]}
```