MCPcopy
hub / github.com/mswjs/msw / handler

Function handler

test/node/msw-api/setup-server/use.node.test.ts:10–12  ·  view source on GitHub ↗
(req, res)

Source from the content-addressed store, hash-verified

8
9const httpServer = new HttpServer((app) => {
10 const handler: ExpressRequestHandler = (req, res) => {
11 res.status(500).send('')
12 }
13 app.get('/book/:bookId', handler)
14 app.post('/login', handler)
15})

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…