Treatment outgoing
http/server::outgoing
Configuration
⬡ http_server: http/server::HttpServer
Parameters
↳ var id: u128
Inputs
⇥ data: Stream<byte>
⇥ headers: Block<StringMap> (std/data/string_map::StringMap)
⇥ status: Block<HttpStatus> (http/status::HttpStatus)
Send an HTTP response for a specific connection.
Low-level counterpart to connection — sends status, headers, and streams the body
data back to the client identified by id.
status and headers must both arrive before any body data is forwarded; if either is
missing the response is not sent.
⚠️ Use connection rather than outgoing directly unless you have a specific reason to
manage connection IDs manually.
graph LR
T("outgoing()")
ST["〈🟦〉"] -->|status| T
H["〈🟨〉"] -->|headers| T
D["🟩 …"] -->|data| T
style ST fill:#ffff,stroke:#ffff
style H fill:#ffff,stroke:#ffff
style D fill:#ffff,stroke:#ffff