MCPcopy Create free account
hub / github.com/clerk/javascript / setRequestHeadersOnNextResponse

Function setRequestHeadersOnNextResponse

packages/nextjs/src/server/utils.ts:84–104  ·  view source on GitHub ↗
(
  res: NextResponse | Response,
  req: Request,
  newHeaders: Record<string, string>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

clerkMiddlewareFunction · 0.90
authMiddlewareFunction · 0.90
decorateRequestFunction · 0.85

Calls 2

setMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected