MCPcopy Create free account
hub / github.com/ParallelTask/dinoloop / mapSegments

Method mapSegments

src/modules/core/dino.controller.ts:53–58  ·  view source on GitHub ↗
(
        params: string[],
        requestUrl: string)

Source from the content-addressed store, hash-verified

51 // made public for unit-test, not available on contract
52 // maps url-segments and query-strings
53 mapSegments(
54 params: string[],
55 requestUrl: string): IKeyValuePair[] {
56 return RouteUtility.mapSegmentsAndQueryToActionArguments(requestUrl,
57 this.controller.request.path, this.getQueryParams(), params);
58 }
59
60 // made public for unit-test, not available on contract
61 // invokes handlers for segments and query params

Callers 1

invokeSetUpMethod · 0.95

Calls 1

getQueryParamsMethod · 0.95

Tested by

no test coverage detected