Simple feedback server

This commit is contained in:
2023-08-13 15:06:45 -06:00
parent 7ec5117480
commit 6f6c8685a2
1697 changed files with 3346391 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
package connect;
typedef ErrorHandleFunction = (err:Dynamic, req:IncomingMessage, res:node.http.ServerResponse<node.http.IncomingMessage>, next:NextFunction) -> Void;

View File

@@ -0,0 +1,3 @@
package connect;
typedef HandleFunction = ts.AnyOf3<SimpleHandleFunction, NextHandleFunction, ErrorHandleFunction>;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
package connect;
typedef NextFunction = ts.AnyOf2<() -> Void, (err:Dynamic) -> Void>;

View File

@@ -0,0 +1,3 @@
package connect;
typedef NextHandleFunction = (req:IncomingMessage, res:node.http.ServerResponse<node.http.IncomingMessage>, next:NextFunction) -> Void;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
package connect;
typedef ServerStackItem = {
var route : String;
var handle : ServerHandle;
};

View File

@@ -0,0 +1,3 @@
package connect;
typedef SimpleHandleFunction = (req:IncomingMessage, res:node.http.ServerResponse<node.http.IncomingMessage>) -> Void;