struct Cryload::Deadline

Overview

A request deadline that carries the limit it was derived from, so the error can name the flag value without reaching back into the config.

Defined in:

cryload/http_client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(at : Time::Instant, span : Time::Span) #

Instance Method Detail

def at : Time::Instant #

def exceeded? : Bool #

def span : Time::Span #