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-7.0.0.beta1 docs/request.md
lhc-6.7.2 docs/request.md
lhc-6.7.1 docs/request.md
lhc-6.7.0 docs/request.md
lhc-6.6.0.zipkin.pre.03 docs/request.md
lhc-6.6.0.zipkin.pre.02 docs/request.md
lhc-6.6.0.zipkin.pre.01 docs/request.md
lhc-6.6.0.zipkin.pre docs/request.md
lhc-6.6.0 docs/request.md
lhc-6.5.0 docs/request.md
lhc-6.4.0 docs/request.md
lhc-6.3.1 docs/request.md
lhc-6.3.0 docs/request.md
lhc-6.2.0 docs/request.md
lhc-6.1.3 docs/request.md
lhc-6.1.2 docs/request.md
lhc-6.1.1 docs/request.md
lhc-6.1.0 docs/request.md
lhc-6.0.1 docs/request.md
lhc-6.0.0 docs/request.md