Struct edge::Container [] [src]

pub struct Container<T: Send + Sync> { /* fields omitted */ }

Container of an application.

Methods

impl<T: 'static + Send + Sync> Container<T>
[src]

Trait Implementations

impl<T: 'static + Send + Sync> Handler for Container<T>
[src]

Implements Handler for our Container. Wraps the HTTP request/response in our own types.

Receives a Request/Response pair, and should perform some action on them. Read more

Called when a Request includes a Expect: 100-continue header. Read more

This is run after a connection is received, on a per-connection basis (not a per-request basis, as a connection with keep-alive may handle multiple requests) Read more

This is run before a connection is closed, on a per-connection basis (not a per-request basis, as a connection with keep-alive may handle multiple requests) Read more