Skip to content

enum SF::Http::Request::Method #

Enumerate the available HTTP methods for a request

Members#

Get = 0#

Request in get mode, standard method to retrieve a page

Post = 1#

Request in post mode, usually to send data to a page

Head = 2#

Request a page's header only

Put = 3#

Request in put mode, useful for a REST API

Delete = 4#

Request in delete mode, useful for a REST API

Methods#

#delete?#

View source

#get?#

View source

#head?#

View source

#post?#

View source

#put?#

View source