• packages
  • http
  • 0.2.4
  • http

This package includes all the support functions necessary to build client and server applications for the HTTP protocol.

The important interfaces an application needs to deal with are:

  • HTTPSession, the API to an HTTP connection.
  • HTTPHandler, the interface to a handler you need to write that will receive notifications from the HTTPSession.
  • HandlerFactory, the interface to a class you need to write that creates instances of your HTTPHandler.
  • Payload, the class that represents a single HTTP message, with its headers.

If you are writing a client, you will need to deal with the HTTPClient class.

If you are writing a server, you will need to deal with the HTTPServer class.

Public Types