Request
class Request (View source)
Properties
$fd | |||
$streamId | |||
$header | |||
$server | |||
$cookie | |||
$get | |||
$files | |||
$post | |||
$tmpfiles |
Methods
__destruct()
No description
string|false
getContent()
Get the request content, kind of like function call fopen('php://input').
string|false
rawContent()
Get the request content, kind of like function call fopen('php://input').
mixed
getData()
No description
static mixed
create(mixed|null $options = null)
No description
mixed
parse(mixed $data)
No description
mixed
isCompleted()
No description
mixed
getMethod()
No description
Details
__destruct()
No description
string|false
getContent()
Since: 4.5.0
Get the request content, kind of like function call fopen('php://input').
This method has an alias of \Swoole\Http\Request::rawContent().
string|false
rawContent()
Get the request content, kind of like function call fopen('php://input').
Alias of method \Swoole\Http\Request::getContent().
mixed
getData()
No description
static mixed
create(mixed|null $options = null)
No description
mixed
parse(mixed $data)
No description
mixed
isCompleted()
No description
mixed
getMethod()
No description