Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinyhttp/tinyhttp
/ status
Function
status
packages/send/src/status.ts:10–14 ·
view source on GitHub ↗
(res: Response)
Source
from the content-addressed store, hash-verified
8
* @param res Response
9
*/
10
export
const
status = <Response extends Res = Res>(res: Response) => (status: number): Response => {
11
res.statusCode = status
12
13
return
res
14
}
Callers
2
send.test.ts
File · 0.90
extendMiddleware
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected