Skip to content

Commit

Permalink
Update file_server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Oct 11, 2023
1 parent 60163c2 commit c3a6b3f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/file_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,19 @@ export default function fileServer(
)
)
}

export class FileServer {
constructor(
serve : (
options: Deno.ServeOptions | Deno.ServeTlsOptions,
handler: Deno.ServeHandler
) => Deno.Server,
options? : Options
) {
serve
}

serve() : Promise<void> {

}
}

0 comments on commit c3a6b3f

Please sign in to comment.