# denoHttpServer **Repository Path**: pony177/deno-http-server ## Basic Information - **Project Name**: denoHttpServer - **Description**: 简易的denoHttp服务器 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-09 - **Last Updated**: 2022-03-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 基本用法 ```typescript // example/index.ts import HttpServer from '../mod.ts' import { RouteRequest, RouteResponse } from '../src/interface/Route.ts' // 调用的例子 const UserSelect = (req: RouteRequest, res: RouteResponse) => { return res.send('sb') } new HttpServer({ port: 8099, routes: [ { path: '/select', method: 'GET', callback: UserSelect } ] }) ```