Skip to main content

Module web

Module web 

Source
Expand description

Local web viewer for rdf-compare.

Modules§

api
HTTP routes for the rdf-compare web viewer.
assets
Embedded static assets for the web viewer.

Structs§

AppState
Shared application state.
Server
Server lifecycle wrapper.

Enums§

Preload
Spec describing what the viewer should preload before it starts serving.

Functions§

build_state
run_blocking
Synchronous helper used by main.rs. Builds a current-thread Tokio runtime, starts the server, optionally opens the browser, and blocks until ctrl-c.
start
Start the HTTP server. Returns once the listener is bound.