Struct aurelius::Handle [] [src]

pub struct Handle { /* fields omitted */ }

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

Methods

impl Handle
[src]

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

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

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

Publish new markdown to be rendered by the server.