[
class tree:
] [
index:
] [
all elements
]
Packages:
HTTP_Server
apidoc
Index of all elements
[
c
] [
d
] [
e
] [
g
] [
h
] [
m
] [
o
] [
p
] [
q
] [
r
] [
s
] [
u
] [
_
]
c
$content
in file Request.php, variable
HTTP_Server_Request::$content
the data (like POST) sent after the headers
top
d
$documentRoot
in file HTTP_Server_File.php, variable
HTTP_Server_File::$documentRoot
document root
top
e
export
in file Request.php, method
HTTP_Server_Request::export()
Exports server variables based on request data
top
g
GET
in file HTTP_Server_File.php, method
HTTP_Server_File::GET()
handle a GET request this method should return an array of the following format:
GET
in file Server.php, method
HTTP_Server::GET()
handle a GET request this method should return an array of the following format:
getMethod
in file Request.php, method
HTTP_Server_Request::getMethod()
get the request method
getPathInfo
in file Request.php, method
HTTP_Server_Request::getPathInfo()
get path info
top
h
$headers
in file Request.php, variable
HTTP_Server_Request::$headers
headers
handleBadRequest
in file Server.php, method
HTTP_Server::handleBadRequest()
Handler for invalid requests
HTTP_Server
in file Server.php, method
HTTP_Server::HTTP_Server()
constructor
HTTP_Server
in file Server.php, class
HTTP_Server
HTTP_Server
HTTP_Server_File.php
procedural page
HTTP_Server_File.php
HTTP_Server_File
in file HTTP_Server_File.php, class
HTTP_Server_File
This is a basic example of how to use HTTP_Server to build a custom webserver.
HTTP_SERVER_INCLUDE_PATH
in file Server.php, constant
HTTP_SERVER_INCLUDE_PATH
Can be changed in test environment
HTTP_Server_Request
in file Request.php, class
HTTP_Server_Request
HTTP_Server_Request
top
m
$method
in file Request.php, variable
HTTP_Server_Request::$method
method
top
o
onReceiveData
in file Server.php, method
HTTP_Server::onReceiveData()
data was received, i.e. HTTP request sent
top
p
$path_info
in file Request.php, variable
HTTP_Server_Request::$path_info
path info
$protocol
in file Request.php, variable
HTTP_Server_Request::$protocol
protocol
parse
in file Request.php, method
HTTP_Server_Request::parse()
parse a http request
POST
in file Server.php, method
HTTP_Server::POST()
handle a POST request this method should return an array of the following format:
top
q
$query_string
in file Request.php, variable
HTTP_Server_Request::$query_string
query string
top
r
Request.php
procedural page
Request.php
top
s
Server.php
procedural page
Server.php
start
in file Server.php, method
HTTP_Server::start()
start the server
top
u
$uri
in file Request.php, variable
HTTP_Server_Request::$uri
uri
top
_
_parsePath
in file Request.php, method
HTTP_Server_Request::_parsePath()
parse a request uri
__construct
in file Server.php, method
HTTP_Server::__construct()
constructor
top
Documentation generated on Mon, 11 Mar 2019 15:39:25 -0400 by
phpDocumentor 1.4.4
. PEAR Logo Copyright © PHP Group 2004.