ServiceRunner::Monitoring::Config::HTTPResult
Inherits ServiceRunner::Monitoring::Config::Result < JSON::Serializable < YAML::Serializable < Struct < Value < Object
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(pull : JSON::PullParser)
SourceInstance methods
body
Sourcebody=(body : String | Nil)
Sourceexpected
Sourceexpected=(expected : HTTPResult::Expected)
Sourceheaders
Sourceheaders=(headers : Hash(String, Array(String)) | Nil)
Sourcehost
Sourcehost=(host : String | Nil)
Sourcemethod
Sourcemethod=(method : String)
Sourcepath
Sourcepath=(path : String)
Sourceport
Sourceport=(port : UInt16 | Nil)
Sourcequery_parameters
Sourcequery_parameters=(query_parameters : Hash(String, Array(String)) | Nil)
Source