Crate ntex[][src]

Expand description

ntex - framework for composable network services

Package feature

  • openssl - enables ssl support via openssl crate
  • rustls - enables ssl support via rustls crate
  • compress - enables compression support in http and web modules
  • cookie - enables cookie support in http and web modules

Re-exports

pub use self::service::*;

Modules

channel

Communication primitives

codec

Utilities for encoding and decoding frames.

connect

Tcp connector service

framed
http

Http protocol support.

router

Resource path matching library.

rt

A runtime implementation that runs everything on the current thread.

server

General purpose tcp server

service
task

A synchronization primitive for task wakeup.

testing
util
web

Web framework for Rust.

ws

WebSocket protocol support.

Traits

Sink

A Sink is a value into which other values can be sent, asynchronously.

Stream

A stream of values produced asynchronously.

Attribute Macros

main

Marks async function to be executed by ntex system.

test

Marks async test function to be executed by ntex runtime.