struct

Wacli::Request

Inherits Struct / Value / Object

Constructors

build(base_url : String, method : String, path_template : String, path_param_names : Array(String), path_param_values : Array(String), query : Array(Tuple(String, String)), headers : Array(Tuple(String, String)), json_body : String | Nil, bearer_token : String | Nil, bearer_header : String) : Request
Source
new(method : String, url : String, headers : Array(Tuple(String, String)), body : String | Nil)
Source

Instance methods

body
Source
execute
Source
headers
Source
method
Source
to_dry_run
Source