Struct httpbin::HttpBin [] [src]

pub struct HttpBin { /* fields omitted */ }

A factory for creating http dispatchers

Methods

impl HttpBin
[src]

[src]

Create a HttpBin instance at root of the domain

[src]

Create a HttpBin instance at specified path

The path influences both: how path is matched (everything that does not start with prefix returns 404). And all paths rendered in the page.

[src]

Create an instance of HttpBinDispatcher