Upgrade to transport v1.3.0

This commit is contained in:
Andrew Lalis 2025-07-01 21:12:00 -04:00
parent b2526b4538
commit da74bc0875
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"dxml": "0.4.4",
"handy-http-data": "1.2.0",
"handy-http-primitives": "1.6.0",
"handy-http-transport": "1.2.1",
"handy-http-transport": "1.3.0",
"handy-http-websockets": "1.1.1",
"mir-algorithm": "3.22.4",
"mir-core": "1.7.3",

View File

@ -13,7 +13,7 @@ public import handy_http_websockets;
* port = The port to host the server on. Defaults to 8080.
*/
void startServer(HttpRequestHandler handler, ushort port = 8080) {
HttpTransport tp = new Http1Transport(handler, port);
HttpTransport tp = new TaskPoolHttp1Transport(handler, port);
tp.start();
}