class Webless::Client

Defined in:

webless/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(&app : HTTP::Handler::HandlerProc) : self #

[View source]
def self.new(app : HTTP::Handler | HTTP::Server::Context -> _, host = Webless::DEFAULT_HOST) #

[View source]

Instance Method Detail

def clear_cookies #

[View source]
def cookie_jar : Webless::CookieJar #

[View source]
def exec_internal(request : HTTP::Request) : HTTP::Client::Response #

[View source]
def follow_redirect! : HTTP::Client::Response #

[View source]
def last_request : HTTP::Request #

[View source]
def last_request_url : String #

Added because the URL is not accessible on the request


[View source]
def last_response : HTTP::Client::Response #

[View source]