summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts
index 76656108b..0c1ab8af0 100644
--- a/cli/tsc/dts/lib.deno.unstable.d.ts
+++ b/cli/tsc/dts/lib.deno.unstable.d.ts
@@ -10,6 +10,17 @@
declare namespace Deno {
export {}; // stop default export type behavior
+ /** Information for a HTTP request.
+ *
+ * @category HTTP Server
+ */
+ export interface ServeHandlerInfo {
+ /** The remote address of the connection. */
+ remoteAddr: Deno.NetAddr;
+ /** The completion promise */
+ completed: Promise<void>;
+ }
+
/** **UNSTABLE**: New API, yet to be vetted.
*
* Retrieve the process umask. If `mask` is provided, sets the process umask.