You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: server/src/flow.ts
+14-8
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
*/
4
4
5
5
importtype*asepfrom"@ty-ras/endpoint";
6
-
importtype*asprotocolfrom"@ty-ras/protocol";
6
+
import*asprotocolfrom"@ty-ras/protocol";
7
7
import*asdatafrom"@ty-ras/data";
8
8
import*asdataBEfrom"@ty-ras/data-backend";
9
9
import*asserverfrom"./utils";
@@ -17,7 +17,7 @@ import * as stream from "node:stream";
17
17
* Creates a callback which will asynchronously process each incoming HTTP request, to extract the endpoint based on URL path and method, validate all necessary inputs, invoke the endpoint, validate all necesary outputs, and write the result to HTTP response.
18
18
* This function is used by other TyRAS plugins and usually not directly by client code.
19
19
* @param endpoints All the {@link ep.AppEndpoint}s to use in returned callback.
20
-
* @param callbacks The {@see ServerFlowCallbacks} necessary to actually implement the returned callback.
20
+
* @param callbacks The {@link ServerFlowCallbacks} necessary to actually implement the returned callback.
21
21
* @param events The {@link evt.ServerEventHandler} to invoke on events.
22
22
* @returns The callback which can be used to asynchronously process incoming HTTP request, and write to outgoing HTTP response.
0 commit comments