Home/Modules/http-8.0

http-8.0

system module http-8.0

<img align="right" src="https://github.com/mearvk/SLeeLa/blob/master/images/debian/debian-logo.png" width="75" height="75" alt="SLeeLa">

<img src="https://github.com/mearvk/SLeeLa/blob/master/images/sleela/sleela-logo-004.jpg" alt="SLeeLa">

SLeeLa HTTP 8.0

Status: Internet-capable SLeeLa cryptographic/session-security protocol server with National Emblems, Signals, and Frequency metadata.

Platforms: Linux · macOS · Windows 10+

HTTP 8.0 adds an explicit cryptographic and session-security boundary to the SLeeLa HTTP lineage — two-way handshaking with subscription/radio state, National Signal Frequency (NSF) metadata, binary-checker agreements, international context, and a DarkPower session descriptor. It is not an IETF HTTP/8 standard.

Build and test

make            # build protocol objects + server
make test       # run server self-test (frames, session handshake, negotiation)
make server     # build just the portable server
make demo       # build original http80.c / http80.cpp + DarkPower demos
make syntax     # syntax-only check of all sources
make clean

Platform notes

PlatformSocket layerCompilerLink flags
LinuxPOSIX sockets via sleela_netcc / gcc(none)
macOSPOSIX sockets via sleela_netcc / clang(none)
Windows 10+Winsock2 via sleela_netMSVC / MinGW-lws2_32

Running the server

./http8_server --port 8087

Options: --port N (default 8087), --self-test, --help.

Frame model — 28 types

HTTP 7.0's 24 types plus 4 session/crypto/NSF frames:

TypeCodeDescription
OPEN – ASSERTION_AUTHOR1–24Inherited from HTTP 7.0
SESSION_BEGIN25Initiate two-way handshake
SESSION_ACCEPT26Accept/reject party in handshake
NATIONAL_SIGNAL27NSF descriptive metadata
CRYPTO_POLICY28Cryptographic policy declaration

Flags include CRYPTO_REQUIRED (0x100).

Session model

The session API (http8_session_*) is reusable C, extracted from the original http80.c demo.

DarkPower

Typed session descriptor with a fixed 24-character SCHEDULE TERM and integer DARK POWER value (0x18ae). contact_request_for_iss() produces an application-level contact-request string for domain ISS. This is a data-format helper, not an access grant.

Built-in endpoints

PathMethodDescription
/__sleela/healthGETReturns SLeeLa HTTP/8.0 OK
/__sleela/statusGETJSON: 28 frame types, session/NSF/crypto status
/__sleela/negotiateGETVersion negotiation result (JSON)
/__sleela/h8POSTH8 frame endpoint — binary frames

SLeeLa application headers

X-SLeeLa-Version: 8.0
X-SLeeLa-Accept: 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.1, 1.1, 1.0

Security boundary

Cryptographic configuration is separate from application payloads. Implementations should fail closed when required security policy cannot be satisfied. NSF records are descriptive metadata — they do not grant authority, establish legal status, or provide instructions for interception/interference.

File inventory

FileDescription
http8_server.hServer API, HTTP types, frame handler
http8_server.cFull server + session handshake self-test
http8_main.cCLI entry point
http8_protocol.h28 frame types + session/NSF/checker types (new)
http8_protocol.cFrame encode/decode + session API (new)
http80.c / http80.cppOriginal demos (unchanged)
DarkPower.hpp/.cppDarkPower session descriptor (unchanged)
http80_crypto.hppC++ crypto interface (unchanged)
http_negotiation.*Negotiation (C + C++, reformatted)
Makefileall, server, proto, demo, syntax, test

Dependencies

ModulePathRole
sleela_netimpl/core/sleela_net.{c,h}Portable TCP sockets
preferred_routerpreferred-routers/Routing-tier policy
resolverresolver/DNS / event policy

Unified route data

VM identity: /impl Core, /1 Foundation, /2 Operator, /3 Specialist, /4 Supervisor, /5 Manager, /6 Director, /7 Administrator, /8 Executive, /9 Authority, /10 Principal, /11 Sovereign.


SLeeLa

<p align="center"><img src="images/sleela/sleela-wordmark.svg" alt="SLeeLa — The Now. The Ingredient." width="560"></p> <p align="center"><img src="https://github.com/mearvk/SLeeLa/blob/master/images/sleela-programming-language-002.jpg" alt="SLeeLa Marketing Logo" width="560"></p>

Files 31