class Cryload::Cli::Options

Overview

Typed CLI options populated by the option parser. Nilable fields mean "not provided"; booleans default to their flag-absent value.

Defined in:

cryload/cli_options.cr

Instance Method Summary

Instance Method Detail

def basic_auth : String | Nil #

def basic_auth=(basic_auth : String | Nil) #

def body : String | Nil #

def body=(body : String | Nil) #

def body_file : String | Nil #

def body_file=(body_file : String | Nil) #

def body_stdin=(body_stdin : Bool) #

def body_stdin? : Bool #

def connections : Int32 #

def connections=(connections : Int32) #

def cookies : Array(String) #

def cookies=(cookies : Array(String)) #

def disable_keepalive=(disable_keepalive : Bool) #

def disable_keepalive? : Bool #

def duration : Int32 | Nil #

def duration=(duration : Int32 | Nil) #

def fail_on_error=(fail_on_error : Bool) #

def fail_on_error? : Bool #

def fail_on_transport_error=(fail_on_transport_error : Bool) #

def fail_on_transport_error? : Bool #

def follow_redirects=(follow_redirects : Bool) #

def follow_redirects? : Bool #

def headers : Array(String) #

def headers=(headers : Array(String)) #

def host_header : String | Nil #

def host_header=(host_header : String | Nil) #

def insecure=(insecure : Bool) #

def insecure? : Bool #

def json=(json : Bool) #

def json? : Bool #

def max_fail_rate : Float64 | Nil #

def max_fail_rate=(max_fail_rate : Float64 | Nil) #

def max_p99_ms : Float64 | Nil #

def max_p99_ms=(max_p99_ms : Float64 | Nil) #

def method : String #

def method=(method : String) #

def numbers : Int32 | Nil #

def numbers=(numbers : Int32 | Nil) #

def output_format : String | Nil #

def output_format=(output_format : String | Nil) #

def progress=(progress : Bool) #

def progress? : Bool #

def proxy : String | Nil #

def proxy=(proxy : String | Nil) #

def random_path=(random_path : Bool) #

def random_path? : Bool #

def rate : Int32 | Nil #

def rate=(rate : Int32 | Nil) #

def server : String | Nil #

def server=(server : String | Nil) #

def success_status : String | Nil #

def success_status=(success_status : String | Nil) #

def timeout : Int32 | Nil #

def timeout=(timeout : Int32 | Nil) #

def urls_file : String | Nil #

def urls_file=(urls_file : String | Nil) #

def user_agent : String | Nil #

def user_agent=(user_agent : String | Nil) #

def warmup : Int32 | Nil #

def warmup=(warmup : Int32 | Nil) #