Commit Graph

38 Commits

Author SHA1 Message Date
1c085b9ec5 catch issue where the connection was closed before reply 2023-05-12 13:09:09 +02:00
5626782178 do log after request is done 2023-05-12 12:55:31 +02:00
e3e5f8c1d2 add funcs for better content handling 2023-05-12 12:43:54 +02:00
03a1f35eaa add preprocessor handlers 2023-05-12 12:28:26 +02:00
0675b26dad remove query params from path param if present 2023-05-12 12:12:35 +02:00
1c668e5892 add reply to middlewareResponse 2023-05-12 11:56:48 +02:00
301a6d2c3d adjust listenting console output 2023-05-12 10:29:45 +02:00
49d5818062 remove unused npm import 2023-05-12 10:20:06 +02:00
ee384eb4bc remove unused func 2023-05-12 10:18:35 +02:00
60b819b9a4 massive performance fixes 2023-05-12 10:16:26 +02:00
42ae41ba87 replace URL with split to gain some extra performance 2023-05-11 15:59:44 +02:00
bbc861fde3 force async func 2023-05-11 14:30:53 +02:00
874c43126d add static example 2023-05-11 14:27:22 +02:00
64d77caeb1 add prettyTime npm example usage 2023-05-11 14:20:37 +02:00
8482c4c6cc use hrtime instead of date 2023-05-11 13:29:23 +02:00
10fb61793f add done promise for middleware 2023-05-11 13:11:14 +02:00
b974abff1b add ip func to request 2023-05-11 12:33:57 +02:00
a9017c7550 add middleware handler, move notfound to own func 2023-05-11 12:16:13 +02:00
ab10ab7091 add object returner support 2023-05-11 11:53:28 +02:00
bf454f83b8 rename module 2023-05-11 10:29:54 +02:00
d7d2320103 add close func 2023-05-11 10:29:21 +02:00
8c2a3eb798 remove vscode dir from gitignore 2023-05-11 10:29:13 +02:00
e0b2739408 add json configurations 2023-05-11 10:28:57 +02:00
93f5bd30b9 add custom not found handler 2023-05-11 09:32:18 +02:00
63be7aba60 update test example 2023-05-11 08:42:45 +02:00
0f176fbe6b fix RouteRequest method type 2023-05-11 08:11:11 +02:00
ef5a205bda fix types 2023-05-11 07:12:51 +02:00
d4075a6bb5 add queryParams 2023-05-11 07:03:10 +02:00
129366c087 add pathParams 2023-05-11 06:46:41 +02:00
5da902fb3b fix response 2023-05-10 19:03:24 +02:00
11e7ff63f8 add cookiestorage, add better immuteable handing 2023-05-10 16:28:01 +02:00
4ed1c7c812 add duplicated routes check 2023-05-10 15:28:00 +02:00
be5c65e759 remove unused url regex 2023-05-10 15:25:38 +02:00
469a83c8e7 add listening info on start 2023-05-10 15:00:17 +02:00
c6c739394f add static file routing 2023-05-10 14:57:29 +02:00
b2c2ff84fe fix example statusCode 2023-05-10 14:25:17 +02:00
f908e383cd add license and readme 2023-05-10 14:24:05 +02:00
f052e055ba initial commit 2023-05-10 14:21:20 +02:00