class Webless::RequestBuilder

Defined in:

webless/request_builder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.delete(path : String) : RequestBuilder #

[View source]
def self.delete : RequestBuilder #

[View source]
def self.get(path : String) : RequestBuilder #

[View source]
def self.get : RequestBuilder #

[View source]
def self.head(path : String) : RequestBuilder #

[View source]
def self.head : RequestBuilder #

[View source]
def self.new #

[View source]
def self.options(path : String) : RequestBuilder #

[View source]
def self.options : RequestBuilder #

[View source]
def self.patch(path : String) : RequestBuilder #

[View source]
def self.patch : RequestBuilder #

[View source]
def self.post(path : String) : RequestBuilder #

[View source]
def self.post : RequestBuilder #

[View source]
def self.put(path : String) : RequestBuilder #

[View source]
def self.put : RequestBuilder #

[View source]

Instance Method Detail

def body(body : BodyType) : RequestBuilder #

[View source]
def build : HTTP::Request #

[View source]
def clone : RequestBuilder #

[View source]
def content_type(content_type : String) : RequestBuilder #

[View source]
def form(form : Hash(String, _) | NamedTuple, multipart : Bool = false) : RequestBuilder #

[View source]
def header(key : String, value : String) : RequestBuilder #

[View source]
def json(hash : Hash(String, _) | NamedTuple) : RequestBuilder #

[View source]
def method(method : Symbol | String) : RequestBuilder #

[View source]
def param(key : String, value : String) : RequestBuilder #

[View source]
def path(path : String) : RequestBuilder #

[View source]