MCPcopy Index your code
hub / github.com/coder/mux / getPathnameFromRequestUrl

Function getPathnameFromRequestUrl

src/node/orpc/server.ts:508–510  ·  view source on GitHub ↗
(requestUrl: string | undefined)

Source from the content-addressed store, hash-verified

506}
507
508function getPathnameFromRequestUrl(requestUrl: string | undefined): string | null {
509 return parsePathnameFromRequestValue(requestUrl);
510}
511
512// Combines pathname parsing + app-proxy prefix detection so request-value
513// shaped inputs (raw URLs, header values) can be classified in a single call.

Callers 3

getPublicBaseHrefFunction · 0.85

Calls 1

Tested by

no test coverage detected