const mixinafBedSheet::BedSheetServer
afBedSheet::BedSheetServer
(Service) - Information about the BedSheet server.
- appModule
- abstract Type? appModule()- The - AppModule.
- appName
- abstract Str appName()- Returns - proj.namefrom the application's pod meta, or "Unknown" if no pod was found.
- appPod
- abstract Pod? appPod()- The pod that contains the initial - AppModule.
- host
- abstract Uri host()- The public facing domain used to create absolute URLs. This is set by - BedSheetConfigIds.host.
- modulePods
- abstract Pod[] modulePods()- Returns a unique list of pods that contain modules loaded by this BedSheet's IoC. - Useful for gaining a list of pods used in an application, should you wish to scan for classes. 
- moduleTypes
- abstract Type[] moduleTypes()- Returns a list of modules loaded by this BedSheet's IoC 
- options
- The Registry options BedSheet was started with. 
- path
- abstract Uri path()- The request path to this BedSheet - WebMod. Only really relevant should BedSheet be started in a RouteMod.- Starts and ends with a - /. Example,- `/pub/`- Returns - `/`should BedSheet be the root- WebMod(the usual case).- @see web::WebReq.modBase 
- port
- abstract Int port()- The port BedSheet is listening to. 
- toAbsoluteUrl
- abstract Uri toAbsoluteUrl(Uri localUrl, Str? scheme := null)- Creates an absolute URL for public use; includes scheme, authority and path to this - WebMod. The given- WebModlocal URL should be relative to the BedSheet- WebModand may, or may not, start with a- /.- The scheme, if - null, defaults to whatever was set in BedSheetConfigIds.host.
- toClientUrl
- abstract Uri toClientUrl(Uri localUrl)- Prepends any extra - WebModpath info to the given URL so it may be used by clients and browsers. The given- WebModlocal URL should be relative to the BedSheet- WebModand may, or may not, start with a- /.