MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / setupBindings

Method setupBindings

packages/rest/src/request-context.ts:110–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108 }
109
110 protected setupBindings() {
111 super.setupBindings();
112 this.bind(RestBindings.Http.REQUEST).to(this.request).lock();
113 this.bind(RestBindings.Http.RESPONSE).to(this.response).lock();
114 this.bind(RestBindings.Http.CONTEXT).to(this).lock();
115 }
116}
117
118function parseHostAndPort(host: string | undefined) {

Callers

nothing calls this directly

Calls 3

lockMethod · 0.80
toMethod · 0.80
bindMethod · 0.45

Tested by

no test coverage detected