update : 2015.11.03
php.shukuma.com
|
The EventHttpRequest class
The EventHttpRequest class
(PECL event >= 1.4.0-beta)
소개
Represents an HTTP request.
클래스 개요
EventHttpRequest
{
public
bool
addHeader
(
string
$key
,
string
$value
,
int
$type
)
public
void
findHeader
(
string
$key
,
string
$type
)
public
void
free
( void
)
public
void
sendError
(
int
$error
[,
string
$reason
= NULL
] )
}
예약 상수
-
EventHttpRequest::CMD_GET
-
GET method(command)
-
EventHttpRequest::CMD_POST
-
POST method(command)
-
EventHttpRequest::CMD_HEAD
-
HEAD method(command)
-
EventHttpRequest::CMD_PUT
-
PUT method(command)
-
EventHttpRequest::CMD_DELETE
-
DELETE command(method)
-
EventHttpRequest::CMD_OPTIONS
-
OPTIONS method(command)
-
EventHttpRequest::CMD_TRACE
-
TRACE method(command)
-
EventHttpRequest::CMD_CONNECT
-
CONNECT method(command)
-
EventHttpRequest::CMD_PATCH
-
PATCH method(command)
-
Request input header type.
-
Request output header type.
Table of Contents
|
|