Class: HTTP::Feature

Inherits:
Object
  • Object
show all
Defined in:
lib/http/feature.rb

Instance Method Summary collapse

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