Add mounting for activated routes, route compiling, routing

This commit is contained in:
2021-03-08 09:00:43 -06:00
parent 338b9be506
commit 3acc1bc83e
13 changed files with 314 additions and 12 deletions

View File

@@ -5,6 +5,7 @@ import {HTTPCookieJar} from "../kernel/HTTPCookieJar";
import {TLSSocket} from "tls";
import * as url from "url";
import {Response} from "./Response";
import {ActivatedRoute} from "../routing/ActivatedRoute";
// FIXME - add others?
export type HTTPMethod = 'post' | 'get' | 'patch' | 'put' | 'delete' | 'unknown';