@buntal/core

HTTP

HTTP server and client utilities for building web applications with Buntal.

Overview

The HTTP module provides the core HTTP functionality for Buntal applications, including server creation, request handling, and HTTP utilities. It offers a simple yet powerful API for building web servers and handling HTTP requests and responses.

Components

Server

  • Http - Main HTTP server class for creating web applications

Handlers

  • h - Higher-order function for composing AtomicHandler functions
  • AtomicHandler - Type definition for request handler functions

Utilities

  • Body - Request body parsing utilities
  • Cookie - Cookie handling utilities for requests and responses
  • Req - Enhanced request object with additional utilities
  • Res - Enhanced response object with additional utilities

Last modified: 2025-06-10

Content-Length: 0