Spikard. App
(spikard v0.16.0-rc.3)
Copy Markdown
Spikard application builder.
Summary
Functions
Set the server configuration.
Register a CONNECT route at the given path.
Register a CONNECT route at the given path.
Register a DELETE route at the given path.
Register a DELETE route at the given path.
Register a GET route at the given path.
Register a GET route at the given path.
Register a HEAD route at the given path.
Register a HEAD route at the given path.
Build the underlying Axum router.
Create a new application with the default server configuration.
Register an OPTIONS route at the given path.
Register an OPTIONS route at the given path.
Register a PATCH route at the given path.
Register a PATCH route at the given path.
Register a POST route at the given path.
Register a POST route at the given path.
Register a PUT route at the given path.
Register a PUT route at the given path.
Register a route using the provided builder and handler function.
Run the HTTP server using the configured routes.
Register a TRACE route at the given path.
Register a TRACE route at the given path.
Functions
Set the server configuration.
Register a CONNECT route at the given path.
Register a CONNECT route at the given path.
Register a DELETE route at the given path.
Register a DELETE route at the given path.
Register a GET route at the given path.
Register a GET route at the given path.
Register a HEAD route at the given path.
Register a HEAD route at the given path.
Build the underlying Axum router.
Errors
Returns an error if server or router construction fails.
Create a new application with the default server configuration.
Register an OPTIONS route at the given path.
Register an OPTIONS route at the given path.
Register a PATCH route at the given path.
Register a PATCH route at the given path.
Register a POST route at the given path.
Register a POST route at the given path.
Register a PUT route at the given path.
Register a PUT route at the given path.
Register a route using the provided builder and handler function.
Errors
Returns an error if route construction fails or if the handler registration fails.
Run the HTTP server using the configured routes.
Errors
Returns an error if server construction or execution fails.
Register a TRACE route at the given path.
Register a TRACE route at the given path.