module LikeeScraper::Connection
Defined in:
Constant Summary
-
CONNECT_TIMEOUT =
5.seconds
-
HTTPS =
"https"
-
READ_TIMEOUT =
1.minute
Class Method Summary
-
.call(url : String, referer : String, &) : Nil
Executes a GET request and yields the response.
Class Method Detail
def self.call(url : String, referer : String, &) : Nil
#
Executes a GET request and yields the response. If the response is not
successful, raises LikeeScraper::HTTPError
.