__construct()
__toString()
add_param()
execute()
forge()
get_headers()
get_method()
response()
response_info()
set_auto_format()
set_header()
set_method()
set_mime_type()
set_option()
set_options()
set_params()
set_response()
mime_in_header()
set_defaults()
$auto_detect_formats
$auto_format
$default_options
$default_params
$headers
$method
$options
$params
$resource
$response
$response_info
$supported_formats
Request_Driver Class
base class for request classes
package | Fuel\Core |
---|
__construct($resource, array $options, $method)
__toString() : string
string
add_param(string | array $param, mixed $value) : \Fuel\Core\Request_Driver
get_headers() : array
array
get_method() : string
string
request methodresponse_info(string $key, string $default) : mixed
string
string
mixed
set_method(string $method) : object
string
request method
object
current instanceset_mime_type(string $mime) : string
string
string
Request_Driverset_option(int | string $option, mixed $value) : \Fuel\Core\Request_Driver
set_response(string $body, int $status, string $mime, array $headers, string $accept_header) : \Fuel\Core\Response
string
int
string
array
string
\OutOfRangeException |
if an accept header was specified, but the mime type isn't in it |
---|
mime_in_header(string $mime, string $accept_header) : bool
string
string
bool
$auto_detect_formats : array
$auto_format : bool
$default_params : array
$headers : array
$method : string
$params : array
$resource : string
$response_info : array
$supported_formats : array