Class: HTTPkit::Client::BodyHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/httpkit/client/body_handler.rb

Instance Method Summary collapse

Instance Method Details

#perform(request) {|banana_request(request)| ... } ⇒ Object

Yields:


5
6
7
8
9
# File 'lib/httpkit/client/body_handler.rb', line 5

def perform(request)
  request = request.with_headers(request.body_headers)

  yield banana_request(request)
end