Sha256: 6cb5cf27698b60ce27eb8ed3fe4dd14485b3481f8b1b45604afcbb2d0b9f52f3

Contents?: true

Size: 638 Bytes

Versions: 75

Compression:

Stored size: 638 Bytes

Contents

Request
===

The request class handles the http request,
implements the interceptor pattern,
loads configured endpoints,
generates urls from url-templates
and raises exceptions for any response code that is not indicating success (2**).

→ [Read more about exceptions](exceptions.md)

```ruby
  request.response #<LHC::Response> the associated response.

  request.options #<Hash> the options used for creating the request.

  request.params # access request params

  request.headers # access request headers

  request.url #<String> URL that is used for doing the request

  request.method #<Symbol> provides the used http-method
```

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
lhc-5.1.1 docs/request.md
lhc-5.1.0 docs/request.md
lhc-5.0.3 docs/request.md
lhc-5.0.2 docs/request.md
lhc-5.0.1 docs/request.md
lhc-5.0.0 docs/request.md
lhc-4.0.2 docs/request.md
lhc-4.0.1 docs/request.md
lhc-4.0.0 docs/request.md
lhc-3.8.1 docs/request.md
lhc-3.8.0 docs/request.md
lhc-3.7.3 docs/request.md
lhc-3.7.2 docs/request.md
lhc-3.7.2.1 docs/request.md
lhc-3.7.1 docs/request.md
lhc-3.7.0 docs/request.md
lhc-3.7.0.pre1 docs/request.md
lhc-3.6.1 docs/request.md
lhc-3.6.0 docs/request.md
lhc-3.5.5 docs/request.md