A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
GPL-3.0 License
Bot releases are visible (Hide)
Published by crookse over 5 years ago
Fixes
Drash.Http.Response
and Drash.Http.Resource
can now be overridden properly.Published by crookse over 5 years ago
What's New
deno --allow-run --allow-write https://deno.land/x/std/prettier/main.ts
. Thanks prettier
author(s)!Published by crookse over 5 years ago
What's New
Drash.Exceptions.HttpException
class. This class takes (code: number, message?: string)
as its arguments. When Drash.Http.Server
handles an HttpException
, it uses the HttpException
's code to as the response's status code.Published by crookse over 5 years ago
What's New
address
config. Example:
import Drash from './drash/mod.ts';
import HomeResource from "./resources/home_resource.ts";
let server = new Drash.Http.Server({
address: 'localhost:8000',
response_output: 'application/json',
resources: [
HomeResource
]
});
server.run();
Published by crookse over 5 years ago
Initial release