Method
in package
HTTP Method List
Table of Contents
Constants
- CONNECT = 'CONNECT'
- Safe: No Idempotent: No Cacheable: No
- DELETE = 'DELETE'
- Safe: No Idempotent: Yes Cacheable: No
- GET = 'GET'
- Safe: Yes Idempotent: Yes Cacheable: Yes
- HEAD = 'HEAD'
- Safe: Yes Idempotent: Yes Cacheable: Yes
- OPTIONS = 'OPTIONS'
- Safe: Yes Idempotent: Yes Cacheable: No
- PATCH = 'PATCH'
- Safe: No Idempotent: No Cacheable: Only if freshness information is included
- POST = 'POST'
- Safe: No Idempotent: No Cacheable: Only if freshness information is included
- PUT = 'PUT'
- Safe: No Idempotent: Yes Cacheable: No
- TRACE = 'TRACE'
- Safe: Yes Idempotent: Yes Cacheable: No
Methods
- all() : array<int, string>
- Returns all HTTP methods.
Constants
CONNECT
Safe: No Idempotent: No Cacheable: No
public
mixed
CONNECT
= 'CONNECT'
Tags
DELETE
Safe: No Idempotent: Yes Cacheable: No
public
mixed
DELETE
= 'DELETE'
Tags
GET
Safe: Yes Idempotent: Yes Cacheable: Yes
public
mixed
GET
= 'GET'
Tags
HEAD
Safe: Yes Idempotent: Yes Cacheable: Yes
public
mixed
HEAD
= 'HEAD'
Tags
OPTIONS
Safe: Yes Idempotent: Yes Cacheable: No
public
mixed
OPTIONS
= 'OPTIONS'
Tags
PATCH
Safe: No Idempotent: No Cacheable: Only if freshness information is included
public
mixed
PATCH
= 'PATCH'
Tags
POST
Safe: No Idempotent: No Cacheable: Only if freshness information is included
public
mixed
POST
= 'POST'
Tags
PUT
Safe: No Idempotent: Yes Cacheable: No
public
mixed
PUT
= 'PUT'
Tags
TRACE
Safe: Yes Idempotent: Yes Cacheable: No
public
mixed
TRACE
= 'TRACE'
Tags
Methods
all()
Returns all HTTP methods.
public
static all() : array<int, string>