Lines Matching refs:HTTP

4 This library provides a toolkit to make working with the HTTP protocol easier.
6 Most PHP scripts run within a HTTP request but accessing information about the
7 HTTP request is cumbersome at least.
76 use Sabre\HTTP;
80 $request = HTTP\Sapi::getRequest();
89 function handleRequest(HTTP\RequestInterface $request) {
99 use Sabre\HTTP;
103 $response = new HTTP\Response();
115 HTTP\Sapi::sendResponse($response);
148 use Sabre\HTTP;
150 class MyRequest extends HTTP\RequestDecorator {
167 that it implements `Sabre\HTTP\RequestInterface`. To decorate this object,
191 use Sabre\HTTP;
193 $request = new HTTP\Request('GET', 'http://example.org/');
196 $client = new HTTP\Client();
206 $client = new HTTP\Client();
223 // The error event is triggered for every response with a HTTP code higher
231 // to inject HTTP authentication headers if a 401 was returned.
256 use Sabre\HTTP;
289 Sabre\HTTP\Sapi,
290 Sabre\HTTP\Client;
316 // Sends the HTTP request to the server
341 * Returns the current HTTP method
348 * Sets the HTTP method
510 * Returns all the HTTP headers as an array.
517 * Returns a specific HTTP header, based on it's name.
529 * Updates a HTTP header.
540 * Resets HTTP headers
542 * This method overwrites all existing HTTP headers
550 * Adds a new set of HTTP headers.
561 * Removes a HTTP header.
572 * Sets the HTTP version.
582 * Returns the HTTP version.
593 * Returns the current HTTP status.
602 * Sets the HTTP status code.
604 * This can be either the full HTTP status code with human readable string,
655 * Returns all the HTTP headers as an array.
662 * Returns a specific HTTP header, based on it's name.
674 * Updates a HTTP header.
685 * Resets HTTP headers
687 * This method overwrites all existing HTTP headers
695 * Adds a new set of HTTP headers.
706 * Removes a HTTP header.
717 * Sets the HTTP version.
727 * Returns the HTTP version.