Cryload::Cli::Validator - cryload 5.0.0

# module Cryload::Cli::Validator

##
Extended Modules

- Cryload::Cli::Validator

##
Defined in:

cryload/cli_validator.cr

##
Constant Summary

VALID_METHODS = `{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"}`
VALID_OUTPUT_FORMATS = `{"text", "json", "csv", "quiet"}`

##
Instance Method Summary

- #header_name_present?(headers : Array(String), expected_name : String)
- #parse_success_status_ranges(raw_value : String | Nil)
- #valid_basic_auth?(auth : String)
- #valid_cookie?(cookie : String)
- #valid_header?(header : String)
- #valid_proxy?(url : String)
- #valid_url?(url : String)
- #validate(options : Options, &on_ready : String -> )

##
Instance Method Detail

def header_name_present?(headers : Array(String), expected_name : String) #
def parse_success_status_ranges(raw_value : String | Nil) #
def valid_basic_auth?(auth : String) #
def valid_cookie?(cookie : String) #
def valid_header?(header : String) #
def valid_proxy?(url : String) #
def valid_url?(url : String) #
def validate(options : Options, &on_ready : String -> ) #