class NGHTTP::Session

Defined in:

nghttp/session.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def config : NGHTTP::Config #

[View source]
def connection_manager : NGHTTP::ConnectionManager #

[View source]
def cookiejar #

[View source]
def delete(url : String = "", params : Hash(String, String) | Nil = nil, body : IO | Hash(String, String) | String | Nil = nil, headers : HTTP::Headers | Nil = nil, config : Config | Nil = nil, override_method = "delete", &) #

[View source]
def get(url : String = "", params : Hash(String, String) | Nil = nil, body : IO | Hash(String, String) | String | Nil = nil, headers : HTTP::Headers | Nil = nil, config : Config | Nil = nil, override_method = "get", &) #

[View source]
def get_handler(name) #

[View source]
def head(url : String = "", params : Hash(String, String) | Nil = nil, body : IO | Hash(String, String) | String | Nil = nil, headers : HTTP::Headers | Nil = nil, config : Config | Nil = nil, override_method = "head", &) #

[View source]
def headers : HTTP::Headers #

[View source]
def new_config #

[View source]
def new_env(config) #

[View source]
def new_request(method, url, params, body, headers) #

[View source]
def new_response(env) #

[View source]
def options(url : String = "", params : Hash(String, String) | Nil = nil, body : IO | Hash(String, String) | String | Nil = nil, headers : HTTP::Headers | Nil = nil, config : Config | Nil = nil, override_method = "options", &) #

[View source]
def post(url : String = "", params : Hash(String, String) | Nil = nil, body : IO | Hash(String, String) | String | Nil = nil, headers : HTTP::Headers | Nil = nil, config : Config | Nil = nil, override_method = "post", &) #

[View source]
def put(url : String = "", params : Hash(String, String) | Nil = nil, body : IO | Hash(String, String) | String | Nil = nil, headers : HTTP::Headers | Nil = nil, config : Config | Nil = nil, override_method = "put", &) #

[View source]
def setup_handlers(handlers_list) #

[View source]
def start_handler #

[View source]
def start_handler? : NGHTTP::Handler? #

[View source]
def submit(method, url, params, body, headers, config, &) #

[View source]