module LikeeScraper::Connection

Defined in:

likee_scraper/connection.cr

Constant Summary

CONNECT_TIMEOUT = 5.seconds
HTTPS = "https"
READ_TIMEOUT = 1.minute

Class Method Summary

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.


[View source]