Parses an HTTP::Client::Response
from the given IO
.
Parses an HTTP::Client::Response
from the given IO
and yields it to the block.
Returns a convenience wrapper around querying and setting cookie related headers, see HTTP::Cookies
.
Convenience method to retrieve the HTTP status code.
Returns true
if the response status code is between 200 and 299.
Reference
Reference
Object
Object
Parses an HTTP::Client::Response
from the given IO
. Might return nil
if there's no data in the IO
, which probably means that the connection was closed.
Parses an HTTP::Client::Response
from the given IO
and yields it to the block. Might yield nil
if there's no data in the IO
, which probably means that the connection was closed.
Returns a convenience wrapper around querying and setting cookie related headers, see HTTP::Cookies
.
Convenience method to retrieve the HTTP status code.
Returns true
if the response status code is between 200 and 299.
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/HTTP/Client/Response.html