Struct aurelius::Listening [] [src]

pub struct Listening { /* fields omitted */ }

A handle to an active preview server.

The server is listening for HTTP requests on a given port, and broadcasting rendered markdown over a websocket connection on another port.

Methods

impl Listening
[src]

[src]

Returns the socket address that the websocket server is listening on.

[src]

Returns the socket address that the HTTP server is listening on.

[src]

Changes the "current working directory" of the HTTP server. The HTTP server will serve static file requests out of the new directory.

[src]

Publish new markdown to be rendered by the server.

Trait Implementations

Auto Trait Implementations

impl Send for Listening

impl Sync for Listening