Classes

The following classes are available globally.

  • An incoming HTTP request.

    See more

    Declaration

    Swift

    public class Request
  • An HTTP response for an incoming request.

    See more

    Declaration

    Swift

    public class Response
  • A Service is a basic HTTP server. Each incoming request will trigger the provided handler to fire. The handler implementation is responsible for routing, parsing, or any other custom behaviour then populating the Response as necessary.

    See more

    Declaration

    Swift

    public class Service