File: Server.php
Source Location: /HTTP_Server-0.4.1/HTTP/Server.php
Classes:
HTTP_Server
HTTP_Server
Page Details:
HTTP_Server
simple HTTP server class that analyses a request, calls the appropriate request handler (get,post,..) and sends a response Request handler may be implemented by the developer and have to return an array with reponse code, headers and repsonse body ever wanted your HTTP server to get content from a database or shared memory instead of files? Now it's possible, if you know a bit of PHP To create your own HTTP server, just extend this class and implement the methods GET(), POST(), PUT() and DELETE()
Includes:
require_once('Net/Server.php') [line 53]
uses Net_Server as driver require_once(HTTP_SERVER_INCLUDE_PATH.'/Request.php') [line 63]
request class require_once('HTTP.php') [line 58]
some HTTP utilities
HTTP_SERVER_INCLUDE_PATH [line 47]
Documentation generated on Mon, 11 Mar 2019 15:39:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|