MCPcopy Create free account
hub / github.com/parse-community/parse-server / constructor

Method constructor

src/PromiseRouter.js:38–42  ·  view source on GitHub ↗
(routes = [], appId)

Source from the content-addressed store, hash-verified

36 // response: a json object with the content of the response
37 // location: optional. a location header
38 constructor(routes = [], appId) {
39 this.routes = routes;
40 this.appId = appId;
41 this.mountRoutes();
42 }
43
44 // Leave the opportunity to
45 // subclasses to mount their routes by overriding

Callers

nothing calls this directly

Calls 1

mountRoutesMethod · 0.95

Tested by

no test coverage detected