http

v1.1.0Official Ecosystem Package

Asynchronous HTTP/1.1 and HTTP/2 client and server framework with middleware routing.

98.2Ktotal downloads
License:MIT
Author:SP Core Team <core@splang.shantopaul.com>
Published:Oct 6, 2026
Category:web

http for SP Language

Fast, lightweight HTTP client and server library with middleware routing.

# Usage

sp
import std.io;
import http;

fn main() -> void {
    let server = new http.Server(8080);
    
    server.get("/", (http.Request req, http.Response res) => {
        res.send("Hello from SP microservice!");
    });
    
    server.listen();
}

Install Package

$spm add http

Package Details

Version:v1.1.0
License:MIT
Total Downloads:98.2K
Published:Oct 6, 2026
SPM Min Version:>= 1.0.0
Checksum:SHA-256
Author:SP Core Team <core@splang.shantopaul.com>
Quick SPM command

Run inside any SP project directory:

spm add http