import { SustainServer } from "https://deno.land/x/sustain_core@0.20.5/mod.ts";
Constructors
new
SustainServer(requests: SustainRequest, config: Application)Properties
config: Application
extensions: SustainExtension[]
loadedExtensions: SustainExtension[]
middleswares: Middleware[]
requests: SustainRequest
server: Server
staticFolders: StaticFolder[]
Methods
create()
generateOpenApiSchema(): void
handleControllerOutput(controllerOutput: , response: ServerResponse)
| Promise<any>
| string
| number
| object
loadInjectedExtension(extensions: SustainExtension[])
setPoweredByHeader(response: ServerResponse)