Struct ethcore_dapps::ServerBuilder [] [src]

pub struct ServerBuilder<T: Fetch = FetchClient> { /* fields omitted */ }

Webapps HTTP+RPC server build.

Methods

impl ServerBuilder
[src]

Construct new dapps server

impl<T: Fetch> ServerBuilder<T>
[src]

Set a fetch client to use.

Change default sync status.

Change default web proxy tokens validator.

Change default signer port.

Change allowed hosts. None - All hosts are allowed Some(whitelist) - Allow only whitelisted hosts (+ listen address)

Change extra dapps paths (apart from dapps_path)

Asynchronously start server with no authentication, returns result with Server handle on success or an error.

Asynchronously start server with HTTP Basic Authentication, return result with Server handle on success or an error.