Skip to content

Http.Server

Name Mandatory Description Default Type
⬅️ Input Any input type is accepted. The input value will pass through unchanged. Any
Output ➡️ Outputs the input value, passed through unchanged. Any
Handler No The wire that will be spawned and handle a remote request. none WireNone
Endpoint No The URL from where your service can be accessed by a client. 0.0.0.0 String
Port No The port this service will use. 7070 IntVar(Int)

This shard sets up an HTTP server that listens for incoming connections, creates new peers for each connection, and delegates request handling to the specified handler wire. It manages the lifecycle of connections and ensures proper cleanup when the server is stopped.