class Place::HTTPPinger
- Place::HTTPPinger
- PlaceOS::Driver
- Reference
- Object
Defined in:
place/http_pinger.crConstant Summary
-
DUMMY_CALLBACK =
Proc(Task, Nil).new do nil end
Class Method Summary
Instance Method Summary
- #check_status : Bool
- #connected
- #curl(verb : String, path : String, headers : Hash(String, String) = {} of String => String, body : String | Nil = nil)
- #expected_response_code : Int32
- #on_load
- #on_update
- #request_verb : String
- #response_failure_count : UInt64
- #response_mismatch_count : UInt64
Class Method Detail
Instance Method Detail
def curl(verb : String, path : String, headers : Hash(String, String) = {} of String => String, body : String | Nil = nil)
#