Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
treqs
0.1.0
Treqs
Req
Built with Crystal 1.9.2
2023-10-07 22:00:26 UTC
struct
Treqs::Req
Treqs::Req
Struct
Value
Object
Defined in:
treqs.cr
Constructors
.new
(url : String, method : String, body : String | Nil)
Instance Method Summary
#body
: String | Nil
#clone
#copy_with
(url _url = @url, method _method = @method, body _body = @body)
#method
: String
#url
: String
Constructor Detail
def self.
new
(url : String, method : String, body : String | Nil)
#
[
View source
]
Instance Method Detail
def
body
: String | Nil
#
def
clone
#
[
View source
]
def
copy_with
(url _url = @url, method _method = @method, body _body = @body)
#
[
View source
]
def
method
: String
#
def
url
: String
#