handy_httpd.components

Modules

config
module handy_httpd.components.config

Module containing the server configuration and associated functions.

distributing_worker_pool
module handy_httpd.components.distributing_worker_pool

A worker pool implementation that uses a dynamic set of workers that each maintain their own queue of requests, while the pool itself distributes requests to any available workers.

form_urlencoded
module handy_httpd.components.form_urlencoded

This module defines functions and data structures for dealing with data in the application/x-www-form-urlencoded format as defined here: https://url.spec.whatwg.org/#application/x-www-form-urlencoded

handler
module handy_httpd.components.handler

Contains core components for the HTTP handler structure.

legacy_worker_pool
module handy_httpd.components.legacy_worker_pool

This module defines the worker pool implementation for Handy-Httpd, which is responsible for managing the server's worker threads.

multipart
module handy_httpd.components.multipart

Defines data structures and parsing methods for dealing with multipart encoded request bodies.

multivalue_map
module handy_httpd.components.multivalue_map

An implementation of a multi-valued mapping, where one key may map to one or more values.

optional
module handy_httpd.components.optional

Module that defines an Optional type, which is a simplified version of Phobos' Nullable, that also supports mapping the underlying data.

parse_utils
module handy_httpd.components.parse_utils

Internal parsing utilities for the server's HTTP request processing.

request
module handy_httpd.components.request

Contains HTTP request components.

request_queue
module handy_httpd.components.request_queue

Internal queue implementation for incoming socket connections, which is designed for high throughput and thread-safety so that connections can be handed off to many workers concurrently.

response
module handy_httpd.components.response

Contains HTTP response components.

responses
module handy_httpd.components.responses

Contains convenience functions for pre-formatted HTTP responses.

websocket
module handy_httpd.components.websocket

Contains the various components of the Handy-Httpd websocket implementation including a request handler, websocket manager thread, and functions for reading and writing websocket data frames.

worker
module handy_httpd.components.worker

This module contains the logic for each server worker, which involves parsing and handling incoming requests.

worker_pool
module handy_httpd.components.worker_pool

This module defines the request worker pool interface, as well as some basic implementations of it.