Skip to main content

Crate ntex_server

Crate ntex_server 

Source
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.
WorkerId
Identifier assigned to a server worker.
WorkerPool
Builder for a pool of server workers.
WorkerStop
Future returned when stopping a worker.

Enums§

WorkerStatus
Worker status.

Traits§

ServerAppConfig
Creates application state independently for each server worker.
ServerConfiguration
Worker service configuration.