Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
22
node_modules/srvx/dist/adapters/deno.d.mts
generated
vendored
Normal file
22
node_modules/srvx/dist/adapters/deno.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import { DenoFetchHandler, Server, ServerOptions } from "../_chunks/types-BtByT9ny.mjs";
|
||||
import { FastURL$2 as FastURL } from "../_chunks/_url-D8u5OAto.mjs";
|
||||
|
||||
//#region src/adapters/deno.d.ts
|
||||
declare const FastResponse: typeof globalThis.Response;
|
||||
declare function serve(options: ServerOptions): DenoServer;
|
||||
// https://docs.deno.com/api/deno/~/Deno.serve
|
||||
declare class DenoServer implements Server<DenoFetchHandler> {
|
||||
#private;
|
||||
readonly runtime = "deno";
|
||||
readonly options: Server["options"];
|
||||
readonly deno: Server["deno"];
|
||||
readonly serveOptions: Deno.ServeTcpOptions | (Deno.ServeTcpOptions & Deno.TlsCertifiedKeyPem);
|
||||
readonly fetch: DenoFetchHandler;
|
||||
constructor(options: ServerOptions);
|
||||
serve(): Promise<this>;
|
||||
get url(): string | undefined;
|
||||
ready(): Promise<Server>;
|
||||
close(): Promise<void>;
|
||||
}
|
||||
//#endregion
|
||||
export { FastResponse, FastURL, serve };
|
||||
Loading…
Add table
Add a link
Reference in a new issue