SYMBOL INDEX (170 symbols across 30 files) FILE: src/Components/HTTP.ts class HTTP (line 1) | class HTTP { FILE: src/Components/VBase.ts method constructor (line 43) | constructor(basePath: string) { method toAsync (line 47) | public toAsync(cb, self) { method toMethods (line 54) | public toMethods() { method get (line 65) | public get() { method set (line 69) | public set(data) { method getFiles (line 76) | public getFiles() { method reset (line 80) | public reset() { method addFile (line 85) | public addFile(file: string = "") { method getFile (line 91) | public getFile(file: string): object { method extends (line 99) | public extends(name: string, json: object, data: any = {}) { method generate (line 108) | public generate(data = {}) { method loadOn (line 126) | public loadOn() { method parseDir (line 130) | public parseDir(dir = "") { method parseFile (line 137) | public parseFile(dir, file) { method dirReader (line 158) | public dirReader(dir, iterator) { method load (line 182) | public load(dir: any = "", data = {}) { method _filter (line 199) | protected _filter(file: string) { FILE: src/Components/VConfig.ts class VConfig (line 8) | class VConfig extends VBase { method constructor (line 9) | constructor(path) { method isType (line 13) | public isType(item: any): boolean { method parse (line 17) | public parse(scope) { FILE: src/Components/VError.ts class VError (line 12) | class VError extends VBase { method constructor (line 17) | constructor(basePath = "", locale = "zh-CN") { method isType (line 24) | public isType(item: any): boolean { method set (line 28) | public set(data) { method parse (line 33) | public parse(scope) { method generate (line 40) | public generate(locale: string = "zh-CN", filesOnly = true): object { FILE: src/Components/VEvent.ts class VEventReader (line 8) | class VEventReader extends VBase { method constructor (line 10) | constructor(basePath) { method isType (line 15) | public isType(item: any): boolean { method run (line 19) | public async run(key, args) { FILE: src/Components/VHTTPBase.ts class VHTTPBase (line 12) | class VHTTPBase extends VBase { method constructor (line 15) | constructor(path) { method isType (line 21) | public isType(item: any): boolean { method check (line 25) | public check(req) { method checkEx (line 30) | public checkEx(req, scope) { method getDefinition (line 47) | public getDefinition(handler, name, scope) { method setFailureHandler (line 65) | public setFailureHandler(handler) { method extend (line 69) | public extend(method, handler) { method getFallback (line 80) | public getFallback(req, scope) { method process (line 91) | public async process(req, res, scope): Promise { method onPassed (line 108) | public async onPassed(req, res, scope, info, cb) { method onAuthorFailed (line 116) | public onAuthorFailed(message, req, res, scope): boolean { method _onProcess (line 125) | protected async _onProcess(func, req, res, scope): Promise { FILE: src/Components/VMiddleware.ts class VMiddleware (line 16) | class VMiddleware extends VHTTPBase { method constructor (line 17) | constructor(path = "") { method process (line 22) | public async process(req, res, scope): Promise { FILE: src/Components/VModel.ts class VModel (line 10) | class VModel extends VBase { method fetch (line 11) | public static async fetch(config, options) { method prepare (line 18) | public static async prepare(config, options) { method constructor (line 49) | constructor(basePath = "") { method parse (line 54) | public parse(scope) { method isType (line 60) | public isType(item: any): boolean { method loadOn (line 64) | public loadOn(data = null) { FILE: src/Components/VRouter.ts class VRouter (line 7) | class VRouter extends VHTTPBase { method constructor (line 8) | constructor(path = "") { method run (line 13) | public async run(req, res, scope): Promise { method _run (line 21) | protected async _run(func, req, res, scope): Promise { FILE: src/Components/VWebSocket.ts class VWebSocket (line 9) | class VWebSocket extends VBase { method constructor (line 10) | constructor(path) { method isType (line 15) | public isType(item: any): boolean { method run (line 19) | public async run(event, message, ws, req, scope) { FILE: src/DefinitionParsers/VFallbackDefinition.ts class VFallbackDefinition (line 7) | class VFallbackDefinition extends VBase { method constructor (line 8) | constructor(path) { method isType (line 12) | public isType(item: any): boolean { FILE: src/DefinitionParsers/VPolicyDefinition.ts class VPolicyDefinition (line 8) | class VPolicyDefinition extends VBase { method constructor (line 9) | constructor(path) { method isType (line 13) | public isType(item: any): boolean { FILE: src/MiddlewareParsers/VBody.ts class VBody (line 10) | class VBody extends VHTTPBase { method constructor (line 11) | constructor(path) { method isType (line 16) | public isType(item: any): boolean { method file (line 20) | public file(req) { method parse (line 27) | public async parse(req, res): Promise { FILE: src/MiddlewareParsers/VCondition.ts class VCondition (line 7) | class VCondition extends VHTTPBase { method constructor (line 8) | constructor(path) { FILE: src/MiddlewareParsers/VFallback.ts class VFallback (line 7) | class VFallback extends VHTTPBase { method constructor (line 8) | constructor(path) { method isType (line 13) | public isType(item: any): boolean { FILE: src/MiddlewareParsers/VFile.ts class VFile (line 5) | class VFile { method cloud (line 8) | public cloud(req) { method attach (line 32) | public attach(app) { method use (line 36) | public use() { method _isError (line 42) | public _isError(err, reject, cb = null) { FILE: src/MiddlewareParsers/VPager.ts class VPager (line 19) | class VPager extends VHTTPBase { method constructor (line 20) | constructor(path) { method isType (line 24) | public isType(item: any): boolean { method toNumber (line 28) | public toNumber(value) { method parse (line 39) | public async parse(req, res, scope): Promise { FILE: src/MiddlewareParsers/VPolicy.ts class VPolicy (line 7) | class VPolicy extends VHTTPBase { method constructor (line 8) | constructor(path = "") { method isType (line 13) | public isType(item: any): boolean { FILE: src/MiddlewareParsers/VSession.ts class VSession (line 15) | class VSession extends VHTTPBase { method constructor (line 16) | constructor(path) { method isType (line 21) | public isType(item: any): boolean { method parse (line 25) | public async parse(req, res, scope): Promise { FILE: src/MiddlewareParsers/VValidator.ts class VValidator (line 9) | class VValidator extends VHTTPBase { method constructor (line 12) | constructor(path = "") { method isType (line 18) | public isType(item: any): boolean { method process (line 36) | public async process(req, res, scope = null): Promise { method processObject (line 48) | public async processObject(handler, req, res, scope): Promise { FILE: src/Templates/Filter.ts class Filter (line 2) | class Filter extends VBase { method constructor (line 3) | constructor(path) { method isType (line 7) | public isType(item: any): boolean { FILE: src/Templates/VTemplate.ts class VTemplate (line 18) | class VTemplate extends VBase { method constructor (line 25) | constructor(dir) { method isType (line 33) | public isType(item: any): boolean { method getEnv (line 37) | public getEnv() { method render (line 57) | public render(data, template, ext) { method setParent (line 61) | public setParent(p: VTemplate) { method getFilters (line 66) | public getFilters() { method getViews (line 76) | public getViews() { FILE: src/VDefinition.ts class VDefinition (line 5) | class VDefinition { method constructor (line 8) | constructor(path: string) { method parse (line 17) | public parse(scope) { method set (line 33) | public set(data) { FILE: src/VEvent.ts class VEvent (line 2) | class VEvent { method getInstance (line 3) | public static getInstance() { method constructor (line 19) | private constructor() { method add (line 32) | public add(events, isOnce = true) { method send (line 59) | public send(...args) { method on (line 69) | public on(event, handler) { method once (line 78) | public once(event, handler) { method _on (line 82) | private _on(event, handler, listeners) { method _processEvent (line 101) | private async _processEvent(handlers, params) { method _onEvent (line 109) | private async _onEvent(...args) { FILE: src/VHandler.ts class VHandler (line 22) | class VHandler { method constructor (line 68) | constructor(urls: string[] = null, path: string = "", prefix = "") { method requireFile (line 124) | public requireFile(name: string) { method setUrls (line 139) | public setUrls(urls: string[]) { method setParent (line 143) | public setParent(p: VHandler) { method setPrefix (line 155) | public setPrefix(prefix) { method update (line 159) | public update(k: string, v) { method extend (line 165) | public extend(method, cb) { method set (line 169) | public set(config) { method getScope (line 205) | public getScope() { method updateFallbacks (line 209) | public updateFallbacks() { method attach (line 223) | public attach(app) { method loadStaticScope (line 241) | public loadStaticScope() { method eventPrepare (line 252) | public eventPrepare() { method websocketPrepare (line 266) | public websocketPrepare() { method getFixedScope (line 274) | public getFixedScope() { method checkMutable (line 292) | public checkMutable(module) { method processMuted (line 296) | public processMuted() { method run (line 303) | public async run(req, res) { method notFound (line 376) | public notFound(error, req, res) { method wsEvent (line 381) | public async wsEvent(event, message, ws, req) { method toJSON (line 399) | public toJSON() { method initChildren (line 412) | private initChildren() { method loadDirectory (line 426) | private loadDirectory(dir: string) { FILE: src/VService.ts class VService (line 11) | class VService { method constructor (line 13) | constructor(options: any = {}) { method defaultRun (line 19) | public defaultRun() { method start (line 24) | public start(app, cb) { FILE: src/VWSServer.ts class VWSServer (line 8) | class VWSServer { method getInstance (line 13) | public static getInstance(): VWSServer { method constructor (line 26) | private constructor() { method addEventListener (line 28) | public addEventListener(event: string, handler: VHandler) { method broadcast (line 39) | public broadcast(data, filter) { method onEvent (line 51) | public async onEvent(event, ws, req) { method onEnter (line 58) | public async onEnter(ws, req) { method onLeave (line 62) | public async onLeave(ws, req) { method onEvents (line 66) | public onEvents(ws, req) { method start (line 86) | public start(server: Server) { FILE: test/Components/VBase.test.ts class NewBase (line 8) | class NewBase extends VBase { method isType (line 9) | public isType(): boolean { FILE: test/Components/VHTTPBase.test.ts class VHTTP (line 10) | class VHTTP extends VHTTPBase { method constructor (line 11) | constructor(path = "") { method isType (line 15) | public isType(item: any): boolean { FILE: test/VEvent.test.ts function aaa (line 108) | function aaa() {