import { Api } from "https://deno.land/x/deno_api_server@v0.6.4/mod.ts";
Constructors
new
Api(serverConfig: IServerConfig)Properties
Methods
protected
handleError(response: IResponse, error: Error)getRouteByRequest(request: Request, url?: URL): null | IRoute
resolve route by request
getUrlByRequest(request: Request): URL
listen()
start server listing on requests