Hearken Documentation Beta

Classes

Server

An HTTP server.

Hearken​Test​Case

An XCTestCase subclass that instantiates a Server for each test scenario.

Structures

HTTPRequest

A simplified model for HTTP requests.

HTTPResponse

A simplified model for HTTP responses.

HTTPRoute

A model for HTTP routes.

Enumerations

HTTPHeader

An HTTP header.

HTTPHeader.​Content​Type

Values for the Content-Type HTTP header.

Typealiases

HTTPBody

The body of HTTP requests.