class HTTP::Client
Superclass hierarchy
Defined in:
Class Method Summary
-
.delete(url, headers = nil, body = nil, &block)
-
.delete(url, headers = nil, body = nil)
-
.exec(method, url, headers = nil, body = nil)
-
.exec(method, url, headers = nil, body = nil, &block)
-
.get(url, headers = nil, body = nil, &block)
-
.get(url, headers = nil, body = nil)
-
.head(url, headers = nil, body = nil, &block)
-
.head(url, headers = nil, body = nil)
-
.new(host, port = nil, ssl = false, &block)
-
.patch(url, headers = nil, body = nil)
-
.patch(url, headers = nil, body = nil, &block)
-
.post(url, headers = nil, body = nil)
-
.post(url, headers = nil, body = nil, &block)
-
.post_form(url, form, headers = nil)
-
.put(url, headers = nil, body = nil, &block)
-
.put(url, headers = nil, body = nil)
-
.new(host, port = nil, ssl = false)
Instance Method Summary
-
#basic_auth(username, password)
-
#before_request(&before_request : HTTP::Request -> )
-
#close
-
#delete(path, headers = nil, body = nil)
-
#delete(path, headers = nil, body = nil, &block)
-
#exec(request : HTTP::Request)
-
#exec(method : String, path, headers = nil, body = nil)
-
#exec(request : HTTP::Request, &block)
-
#exec(method : String, path, headers = nil, body = nil, &block)
-
#get(path, headers = nil, body = nil)
-
#get(path, headers = nil, body = nil, &block)
-
#head(path, headers = nil, body = nil, &block)
-
#head(path, headers = nil, body = nil)
-
#host
-
#patch(path, headers = nil, body = nil, &block)
-
#patch(path, headers = nil, body = nil)
-
#port
-
#post(path, headers = nil, body = nil, &block)
-
#post(path, headers = nil, body = nil)
-
#post_form(path, form : String, headers = nil)
-
#post_form(path, form : Hash, headers = nil)
-
#put(path, headers = nil, body = nil)
-
#put(path, headers = nil, body = nil, &block)
-
#ssl?
Class Method Detail
def self.delete(url, headers = nil, body = nil, &block)
def self.delete(url, headers = nil, body = nil)
def self.exec(method, url, headers = nil, body = nil)
def self.exec(method, url, headers = nil, body = nil, &block)
def self.get(url, headers = nil, body = nil, &block)
def self.get(url, headers = nil, body = nil)
def self.head(url, headers = nil, body = nil, &block)
def self.head(url, headers = nil, body = nil)
def self.new(host, port = nil, ssl = false, &block)
def self.patch(url, headers = nil, body = nil)
def self.patch(url, headers = nil, body = nil, &block)
def self.post(url, headers = nil, body = nil)
def self.post(url, headers = nil, body = nil, &block)
def self.put(url, headers = nil, body = nil, &block)
def self.put(url, headers = nil, body = nil)
def self.new(host, port = nil, ssl = false)
Instance Method Detail
def basic_auth(username, password)
def delete(path, headers = nil, body = nil)
def delete(path, headers = nil, body = nil, &block)
def
exec(method :
String, path, headers =
nil, body =
nil)
def
exec(method :
String, path, headers =
nil, body =
nil, &block)
def get(path, headers = nil, body = nil)
def get(path, headers = nil, body = nil, &block)
def head(path, headers = nil, body = nil, &block)
def head(path, headers = nil, body = nil)
def patch(path, headers = nil, body = nil, &block)
def patch(path, headers = nil, body = nil)
def post(path, headers = nil, body = nil, &block)
def post(path, headers = nil, body = nil)
def put(path, headers = nil, body = nil)
def put(path, headers = nil, body = nil, &block)