Class: HTTP::Feature
- Inherits:
-
Object
- Object
- HTTP::Feature
- Defined in:
- lib/http/feature.rb
Direct Known Subclasses
HTTP::Features::AutoDeflate, HTTP::Features::AutoInflate, HTTP::Features::Instrumentation, HTTP::Features::Logging, HTTP::Features::NormalizeUri, HTTP::Features::RaiseError
Instance Method Summary collapse
- #on_error(_request, _error) ⇒ Object
- #wrap_request(request) ⇒ Object
- #wrap_response(response) ⇒ Object
Instance Method Details
#on_error(_request, _error) ⇒ Object
13 |
# File 'lib/http/feature.rb', line 13 def on_error(_request, _error); end |
#wrap_request(request) ⇒ Object
5 6 7 |
# File 'lib/http/feature.rb', line 5 def wrap_request(request) request end |
#wrap_response(response) ⇒ Object
9 10 11 |
# File 'lib/http/feature.rb', line 9 def wrap_response(response) response end |