MCPcopy Create free account
hub / github.com/BackendStack21/restana / Router

Interface Router

index.d.ts:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 interface Router<P extends Protocol> {
58 get: RegisterRoute<P>
59 delete: RegisterRoute<P>
60 patch: RegisterRoute<P>
61 post: RegisterRoute<P>
62 put: RegisterRoute<P>
63 head: RegisterRoute<P>
64 options: RegisterRoute<P>
65 trace: RegisterRoute<P>
66 all: RegisterRoute<P>
67 }
68
69 type Response<P extends Protocol> = P extends Protocol.HTTP2
70 ? Http2ServerResponse & ResponseExtensions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…