class Webless::Client
- Webless::Client
- HTTP::Client
- Reference
- Object
Defined in:
webless/client.crConstructors
- .new(&app : HTTP::Handler::HandlerProc) : self
- .new(app : HTTP::Handler | HTTP::Server::Context -> _, host = Webless::DEFAULT_HOST)
Instance Method Summary
- #clear_cookies
- #cookie_jar : Webless::CookieJar
- #exec_internal(request : HTTP::Request) : HTTP::Client::Response
- #follow_redirect! : HTTP::Client::Response
- #last_request : HTTP::Request
-
#last_request_url : String
Added because the URL is not accessible on the request
- #last_response : HTTP::Client::Response