Expand description
Worker-based server infrastructure for ntex.
WorkerPool runs services across one or more worker threads. The net
module builds TCP and Unix domain socket servers on top of that pool.
Server is the controller used to pause, resume, stop, or await a running
server.
Modules§
- net
- General-purpose network server.
Structs§
- NoConfig
- Application configuration that creates unit state.
- Server
- Controller and completion future for a running server.
- Worker
- Server worker.
- Worker
Id - Identifier assigned to a server worker.
- Worker
Pool - Builder for a pool of server workers.
- Worker
Stop - Future returned when stopping a worker.
Enums§
- Worker
Status - Worker status.
Traits§
- Server
AppConfig - Creates application state independently for each server worker.
- Server
Configuration - Worker service configuration.