Commit Graph

29 Commits

Author SHA1 Message Date
b335bb61bd set crypto version 2023-05-14 20:23:17 +02:00
2e6ce88e80 add exception for sessionSecret 2023-05-14 20:22:37 +02:00
8a3683d2e5 allow undefined arg for cookie, just set cookie if session has entries 2023-05-13 06:29:01 +02:00
96a73035f8 add sessionDestroy func 2023-05-13 06:25:28 +02:00
5392b032d0 add sessionExpire option 2023-05-13 04:58:01 +02:00
d519c7bf9c add sessions, add session example 2023-05-13 04:50:15 +02:00
1376fbdeba replace return with continue 2023-05-12 15:05:06 +02:00
7f1fce92b2 revert last change 2023-05-12 14:51:36 +02:00
784a34ed4d fix memory leak, close file after serve 2023-05-12 14:49:21 +02:00
e6f6b1ddc5 add var to identify static resource requests 2023-05-12 14:10:41 +02:00
452be0cecf export HTTPMethod 2023-05-12 13:57:13 +02:00
ec0df0de60 change HTTPMethod to enum 2023-05-12 13:55:26 +02:00
ca6d23f5ef fix catch block text 2023-05-12 13:34:11 +02:00
1c085b9ec5 catch issue where the connection was closed before reply 2023-05-12 13:09:09 +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
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