module EventMachine::HTTPMethods
Public Instance Methods
delete(options = {})
click to toggle source
# File lib/em-http/http_connection.rb, line 6 def delete options = {}, &blk; setup_request(:delete, options, &blk); end
get(options = {})
click to toggle source
# File lib/em-http/http_connection.rb, line 4 def get options = {}, &blk; setup_request(:get, options, &blk); end
head(options = {})
click to toggle source
# File lib/em-http/http_connection.rb, line 5 def head options = {}, &blk; setup_request(:head, options, &blk); end
options(options = {})
click to toggle source
# File lib/em-http/http_connection.rb, line 10 def options options = {}, &blk; setup_request(:options, options, &blk); end
patch(options = {})
click to toggle source
# File lib/em-http/http_connection.rb, line 9 def patch options = {}, &blk; setup_request(:patch, options, &blk); end
post(options = {})
click to toggle source
# File lib/em-http/http_connection.rb, line 8 def post options = {}, &blk; setup_request(:post, options, &blk); end
put(options = {})
click to toggle source
# File lib/em-http/http_connection.rb, line 7 def put options = {}, &blk; setup_request(:put, options, &blk); end