We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1af6288 commit 26a342cCopy full SHA for 26a342c
1 file changed
types.ts
@@ -1,14 +1,6 @@
1
-/** Information about the connection a request arrived on. */
2
-export interface ConnInfo {
3
- /** The local address of the connection. */
4
- readonly localAddr: Deno.Addr
5
- /** The remote address of the connection. */
6
- readonly remoteAddr: Deno.Addr
7
-}
8
-
9
export type Handler = (
10
request: Request,
11
- connInfo: ConnInfo,
+ connInfo: Deno.Conn
12
) => Response | Promise<Response>
13
14
export type HandlerOrListener = Handler | Deno.Listener
0 commit comments