sys::Obj web::WebMod fanr::WebRepoMod
WebRepoMod implements basic server side functionality for publishing a repo over HTTP to be used by WebRepo. URI namespace:
Method Uri Operation
------ -------------------- ---------
GET {base}/ping ping meta-data
GET {base}/find/{name} pod find current
GET {base}/find/{name}/{ver} pod find
GET {base}/query?{query} pod query
POST {base}/query pod query
GET {base}/pod/{name}/{ver} pod download
POST {base}/publish publish pod
GET {base}/auth?{username} authentication info
See Web Repos.
const WebRepoAuth auth := PublicWebRepoAuth.<ctor>()
Authentication and authorization plug-in. Default is to make everything completely public.
new make(|This|? f := null)
Constructor, must set repo .
virtual override Void onService()
Service
Meta-data to include in ping requests. If customized, then be sure to include standard props defined by Repo.ping .
const Repo repo
Repository to publish on the web, typically a local FileRepo.
const File tempDir := Env.cur().tempDir
Dir to store temp files, defaults to Env.tempDir
fanr 1.0.82∙26-Jun-2025 Thu 13:18:42 EDT