• ActiveWAFL 2706 API Reference Documentation
  • Search
  • Version

DblEj \ Communication \ Http

The Http namespace.

PHP base-classes for and full implementations of HTTP clients, as well as classes used for storing HTTP-related data such as headers, requests, and responses. There are also some related exception classes.

 
DblEj\Communication\Http

Classes

ApiRequest

A simple request with a string for it's contents.

ApiResponse

A response to a DblEj style API request.

ClientBase Abstract

A simple base class for HTTP clients that implements some standard properties.

ClientInfo
HeaderCollection

A collection of HTTP Headers. A header is simply a key/val pair.

Headers

A structure-like object used to store a "set" of HTTP headers.

Request

Represents an HTTP request.

RequestHandlerBase Abstract

A base class for HTTP request handlers.

Response

Represents a server-response to an HTTP request from a client.

RestClient

An HTTP client for RESTful services.

SitePageResponse

A client response to an HTTP request for a sitepage

Util Static

Utility class providing high level HTTP client, HTTP server, and related functionality.

Interfaces

IResponse

Represents a response to an HTTP request.

ISitePageResponse

An HTTP response that includes a SitePage to be rendered and sent to the client.

Exceptions

AccessDeniedException

Thrown when there is an unexpected situation during communication.

Exception

Thrown when there is an unexpected event during an HTTP communication.

InvalidAbsoluteUrlException

Thrown when a complete absolute URL is expected and it is not found.

InvalidResponseException

Thrown when an invalid response is returned by a Route handling an HTTP request.

Child Namespaces

Routing

Server-side (PHP) classes that represent HTTP routes and abstractions for Routers and Destinations.