Home/Modules/http-6.0

http-6.0

system module http-6.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 6.0

Status: Internet-capable SLeeLa application-protocol server with Consolidated Friends' Bet and Teamster Debate extensions.

Platforms: Linux · macOS · Windows 10+

HTTP 6.0 consolidates the HTTP 5.0 Friends' Packs model into a portable Consolidated Friends' Bet record — friends list, point values, document references, team/area label, consolidated IQ value, debate material, and optional recipient label. It is not an IETF HTTP/6 standard.

Build and test

make            # build protocol objects + server
make test       # run server self-test
make server     # build just the portable server
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

./http6_server --port 8085

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

Frame model — 20 types

32-byte big-endian header. HTTP 5.0's 13 types plus 7 new:

TypeCodeDescription
OPEN1Establish logical request/stream
DATA2Carry application payload
END3Complete request/stream
RESET4Terminate stream with error
WINDOW5Advertise receive capacity
PING6Liveness probe
PONG7Liveness response
RESUME8Continue interrupted transfer
CAPSULE9Session/capability metadata
FRIENDS_PACK10Pack metadata + offer references
BONUS_OFFER11Optional offering reference
FP_UPDATE12FP balance update
AUDIT13Conformance/audit event
CONSOLIDATED_FRIENDS_BET14Consolidated bet record
TEAMSTER_DEBATE15Structured debate package
CONSOLIDATE_IQ16User-supplied IQ value
TEAM_AREA17Team/area label
DEBATE_TOPIC18Debate topic
DEBATE_POSITION19User-authored position/argument
RECIPIENT_LABEL20Optional recipient/audience label

Flags: FIN, ACK, URGENT, INCREMENTAL, RESUMABLE, OPTIONAL, USER_AUTHORED (0x40).

Built-in endpoints

PathMethodDescription
/__sleela/healthGETReturns SLeeLa HTTP/6.0 OK
/__sleela/statusGETJSON: all 20 frame types, bet/debate status
/__sleela/negotiateGETVersion negotiation result (JSON)
/__sleela/h6POSTH6 frame endpoint — binary frames

SLeeLa application headers

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

Consolidated Friends' Bet

A user-created, non-binding application record:

The term "bet" identifies the record. It is not a gambling service or financial instrument.

Teamster Debate

Structured communication package: team area → IQ → topic → position → recipient. Recipients may accept, reject, ignore, or filter.

Safety and authorization

All packet contents are ordinary application data. They do not authorize interference with networks, systems, persons, property, or communications.

File inventory

FileDescription
http6_server.hServer API, HTTP types, frame handler
http6_server.cFull server with H6 frame endpoint + self-test
http6_main.cCLI entry point with echo handler
http6_protocol.h20 frame types, header struct
http6_protocol.cFrame encode/decode/validate (new)
http6_consolidated_pack.hppC++ ConsolidatedFriendsBet class
http_negotiation.*Negotiation (C + C++, reformatted)
Makefileall, server, proto, 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 15