Guide Home
POD Home

POD Contents

This is the POD for all the modules in the current release of Sloop. You can also view it with perldoc once Sloop is installed.

Although perl does not have abstract classes, some of these are labelled such; this indicates that they either implement dummy methods (see Sloop::Base) or are derived from a class with dummy methods that are not overridden.

Sloop::Base

Base class for Sloop::Connection and Sloop::Server.

Sloop::Client

Abstract class representing a server connection to a client.

Sloop::Client::Regular

Client class for regular (unencrypted) connections.

Sloop::Client::Request

Class representing a request from a connected client.

Sloop::Client::Secure

Client class for HTTPS connections.

Sloop::Client::TokenAuth

For using cookie based authentication.

Sloop::Connection

Abstract class representing a TCP connection.

Sloop::Constants

Collection of constants used throughout the API.

Sloop::Generic

Used for returning generic status (404, 500 etc.) based pages.

Sloop::Lib

Various minor utility functions.

Sloop::Logger

Used for logging errors, requests, and debugging info.

Sloop::Logger::SimpleColor

Used for logging with color to a terminal.

Sloop::Logger::TriColor

Used for logging with colors to a terminal.

Sloop::Multipart

Class representing a multipart upload.

Sloop::Multipart::Data

Class representing a discrete part of a multipart upload.

Sloop::Other

Abstract class representing peer connections to other TCP servers.

Sloop::Other::Regular

Used for unencrypted peer connections.

Sloop::Other::Secure

Used for SSL/TLS peer connections.

Sloop::Server

The fundamental sloop server class.

Sloop::Socket::Standard

Adds I/O functionality for unencrypted connections.

Sloop::Socket::TLS

Adds I/O functionality for SSL/TLS connections.

Sloop::Static

Utility functions for handling static content.

Sloop::Static::Cache

Provides caching for dynamically generated pages.

Sloop::Static::MimeType

Used for correlating file suffixes to MIME types.

Sloop::WebSocket

Provides support for upgrading an HTTP connection to a websocket.