class Webless::RequestBuilder
- Webless::RequestBuilder
- Reference
- Object
Defined in:
webless/request_builder.crConstructors
- .delete(path : String) : RequestBuilder
- .delete : RequestBuilder
- .get(path : String) : RequestBuilder
- .get : RequestBuilder
- .head(path : String) : RequestBuilder
- .head : RequestBuilder
- .new
- .options(path : String) : RequestBuilder
- .options : RequestBuilder
- .patch(path : String) : RequestBuilder
- .patch : RequestBuilder
- .post(path : String) : RequestBuilder
- .post : RequestBuilder
- .put(path : String) : RequestBuilder
- .put : RequestBuilder
Instance Method Summary
- #body(body : BodyType) : RequestBuilder
- #build : HTTP::Request
- #clone : RequestBuilder
- #content_type(content_type : String) : RequestBuilder
- #form(form : Hash(String, _) | NamedTuple, multipart : Bool = false) : RequestBuilder
- #header(key : String, value : String) : RequestBuilder
- #json(hash : Hash(String, _) | NamedTuple) : RequestBuilder
- #method(method : Symbol | String) : RequestBuilder
- #param(key : String, value : String) : RequestBuilder
- #path(path : String) : RequestBuilder