Create a new server with the given configuration and storage backend.
Port of Server::new() from server/server.rs lines 135-139.
StaticnewCreate a new server with in-memory storage.
Port of Server::new_memory() from server/server.rs lines 142-144.
StaticnewCreate a new server with SQLite storage.
Port of Server::new_sqlite() from server/server.rs lines 147-149.
Run the server.
Port of Server::run() from server/server.rs lines 152-170.
Get the port the server is configured to listen on.
Port of Server::port() from server/server.rs line 173.
Stop the server.
Hubert HTTP server.
Port of
struct Serverfrom server/server.rs lines 128-133.Example