Request
public class Request
Field Summary | |
---|---|
mixed | |
mixed | |
mixed | |
mixed | |
mixed | |
mixed | |
mixed | |
str[] | Map of file/URI extensions to mimetypes |
mixed |
Constructor Summary | |
---|---|
void | __construct(mixed options) |
Method Summary | |
---|---|
str | getOption(str options, str configVar, str|str headers, str default) Get an item from the given options array if it exists, otherwise fetch from HTTP header or return the given default |
public mixed $accept = array()
public mixed $acceptLanguage = array()
public mixed $contentType
public mixed $data
public mixed $ifMatch = array()
public mixed $ifNoneMatch = array()
public mixed $method
public str[] $mimetypes = array(...)
Map of file/URI extensions to mimetypes
public mixed $uri
public void __construct(mixed options)
public str getOption(str options, str configVar, str|str headers, str default)
Get an item from the given options array if it exists, otherwise fetch from HTTP header or return the given default
Model a HTTP request