swindon 0.5.2

An HTTP edge (frontend) server with smart websockets support
use tokio_core::reactor::Handle;

use chat;
use config::ConfigCell;
use handlers::files;
use http_pools::HttpPools;
use self_meter_http::Meter;
use request_id::RequestId;


pub struct Runtime {
    pub config: ConfigCell,
    pub handle: Handle,
    pub http_pools: HttpPools,
    pub session_pools: chat::SessionPools,
    pub disk_pools: files::DiskPools,
    pub meter: Meter,
    pub server_id: ServerId,
}

/// Runtime server identifier.
/// Used mainly in chat.
pub type ServerId = RequestId;