Struct finchers::Server [] [src]

pub struct Server<E> { /* fields omitted */ }

The factory of HTTP service

Methods

impl<E: NewEndpoint> Server<E>
[src]

[src]

Create a new instance of Server from a NewEndpoint

[src]

Set the listener address of the service

[src]

Set the number of worker threads

impl<E> Server<E> where
    E: NewEndpoint + Send + Sync + 'static,
    E::Item: Responder,
    E::Error: Responder
[src]

[src]

Start a HTTP server

Trait Implementations

impl<E: Debug> Debug for Server<E>
[src]

[src]

Formats the value using the given formatter.