class Bigbrother::Check::Http

Included Modules

Defined in:

bigbrother/check/http.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from module Bigbrother::Check

app : Bigbrother::App | Nil app, app=(app : Bigbrother::App | Nil) app=, check check, label label, run run, start(app : App) start

Constructor methods inherited from module Bigbrother::Check

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node, _dummy : Nil) #

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

Class Method Detail

def self.type #

[View source]

Instance Method Detail

def body : Hash(String, String) | String | Nil #

def body=(_body : String | Hash(String, String) | Nil) #

def check #

[View source]
def connect_timeout : Int32? #

def connect_timeout=(_connect_timeout : Int32 | Nil) #

def dns_timeout : Int32? #

def dns_timeout=(_dns_timeout : Int32 | Nil) #

def headers=(_headers : HTTP::Headers) #

def label #

[View source]
def match_body : Regex? #

def match_body=(_match_body : Regex | Nil) #


def method=(_method : Method | Nil) #

def read_timeout : Int32? #

def read_timeout=(_read_timeout : Int32 | Nil) #

def retries : Int32? #

def retries=(_retries : Union(Int32, Nil)) #

def status_code : Int32? #

def status_code=(_status_code : Int32 | Nil) #

def to_yaml(__temp_115 : YAML::Nodes::Builder) #

def type : String #

def type=(_type : String) #

def url : String #

def url=(_url : String) #

Macro Detail

macro config(type, **properties) #

[View source]