class Cryload::Request

Overview

Respresents an HTTP::get request

Defined in:

cryload/request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(http_client, uri) #

[View source]

Instance Method Detail

def is_ok? #

Checks if response status_code is in between 200.300 meaning the request was successful


[View source]
def time_taken #

Calculates time taken for the request (in miliseconds)


[View source]