Skip to content

Package

This package includes all the support functions necessary to build client 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 should look at the Server class in the http_server package.

Public Types