Crate ntex[−][src]
Expand description
ntex - framework for composable network services
Package feature
openssl
- enables ssl support viaopenssl
craterustls
- enables ssl support viarustls
cratecompress
- enables compression support in http and web modulescookie
- enables cookie support in http and web modules
Modules
Communication primitives
Utilities for encoding and decoding frames.
Tcp connector service
Http protocol support.
IO streaming utilities.
Resource path matching library.
A runtime implementation that runs everything on the current thread.
General purpose tcp server
A synchronization primitive for task wakeup.
IO testing utilities.
Utilities for tracking time.
TLS support for ntex ecosystem.
Web framework for Rust.
WebSocket protocol support.
Traits
Trait for types that can be converted to a Service
Trait for types that can be converted to a ServiceFactory
An asynchronous function from Request
to a Response
.
Creates new Service
values.
A Sink
is a value into which other values can be sent, asynchronously.
A stream of values produced asynchronously.
The Transform
trait defines the interface of a service factory that wraps inner service
during construction.
Functions
Apply tranform function to a service.
Create ServiceFactory
for function that can produce services
Create ServiceFactory
for function that accepts config argument and can produce services
Create ServiceFactory
for function that can act as a Service
Convert object of type T
to a service S
Contruct new pipeline with one service in pipeline chain.
Contruct new pipeline factory with one service factory.