pub fn builder(
) -> SamotopBuilder<SamotopService<StatefulSessionService<ConsoleMail>>>
Expand description
Create a builder that can configure a samotop server and make it runnable as a task. Each listener is executed as a separate task, but they are all joined into one future.
Example of creating a samotop server task (Future<Item=(),Error=()>
):
samotop::builder()
.on("1.1.1.1:25")
.build_task();