Table of Contents
-
$files
: ParamStore
-
$get
: ParamStore
-
$headers
: ParamStore
-
$params
: ParamStore
-
$post
: ParamStore
-
$url
: array<string|int, mixed>|string|array<string|int, string>|null
-
$body
: mixed
-
$method
: string
-
$prepared_body
: mixed
-
$protocol_version
: string
-
__construct()
: mixed
-
buildPostBody()
: string
-
createFromGlobals()
: request
-
getMethod()
: string
-
getProtocolVersion()
: string
-
getRawBody()
: string
-
getRawHeaders()
: string
-
getUri()
: mixed
-
getUrl()
: string
-
parseQuery()
: array<string|int, mixed>
-
prepare()
: void
-
setBody()
: void
-
setMethod()
: void
-
setUrl()
: void
-
detectContentType()
: string
-
generateBoundary()
: string
$files
public
ParamStore
$files
$get
public
ParamStore
$get
public
ParamStore
$headers
$params
public
ParamStore
$params
$post
public
ParamStore
$post
$url
public
array<string|int, mixed>|string|array<string|int, string>|null
$url
$body
private
mixed
$body
$method
private
string
$method
$prepared_body
private
mixed
$prepared_body
$protocol_version
private
string
$protocol_version
= '1.1'
__construct()
public
__construct(mixed $method, mixed $url[, mixed $body = null ]) : mixed
Parameters
-
$method
: mixed
-
-
$url
: mixed
-
-
$body
: mixed
= null
-
Return values
mixed
—
buildPostBody()
public
static buildPostBody(mixed $fields, mixed $files[, mixed $boundary = null ]) : string
Parameters
-
$fields
: mixed
-
-
$files
: mixed
-
-
$boundary
: mixed
= null
-
Return values
string
—
createFromGlobals()
public
static createFromGlobals() : request
Return values
request
—
getMethod()
public
getMethod() : string
Return values
string
—
getProtocolVersion()
public
getProtocolVersion() : string
Return values
string
—
getRawBody()
public
getRawBody() : string
Return values
string
—
public
getRawHeaders() : string
Return values
string
—
getUri()
public
getUri() : mixed
Return values
mixed
—
getUrl()
public
getUrl() : string
Return values
string
—
parseQuery()
public
static parseQuery(mixed $query) : array<string|int, mixed>
Parameters
-
$query
: mixed
-
Return values
array<string|int, mixed>
—
prepare()
public
prepare() : void
Return values
void
—
setBody()
public
setBody(mixed $body[, mixed $content_type = false ]) : void
Parameters
-
$body
: mixed
-
-
$content_type
: mixed
= false
-
Return values
void
—
setMethod()
public
setMethod(mixed $method) : void
Parameters
-
$method
: mixed
-
Return values
void
—
setUrl()
public
setUrl(mixed $url) : void
Parameters
-
$url
: mixed
-
Return values
void
—
detectContentType()
private
detectContentType(mixed $data) : string
Parameters
-
$data
: mixed
-
Return values
string
—
generateBoundary()
private
static generateBoundary() : string
Return values
string
—