const class fanr::WebRepoMod

sys::Obj
 web::WebMod
 fanr::WebRepoMod

Source

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.

auth

const WebRepoAuth auth := PublicWebRepoAuth.<ctor>()

Source

Authentication and authorization plug-in. Default is to make everything completely public.

make

new make(|This|? f := null)

Source

Constructor, must set repo .

onService

virtual override Void onService()

Source

Service

pingMeta

const Str:Str pingMeta := ...

Source

Meta-data to include in ping requests. If customized, then be sure to include standard props defined by Repo.ping .

repo

const Repo repo

Source

Repository to publish on the web, typically a local FileRepo.

tempDir

const File tempDir := Env.cur().tempDir

Source

Dir to store temp files, defaults to Env.tempDir

fanr 1.0.8226-Jun-2025 Thu 13:18:42 EDT

AltStyle によって変換されたページ (->オリジナル) /