Add minimal http3 impl.

This commit is contained in:
Alex Hultman
2022-05-05 04:44:26 +02:00
parent dfa9214096
commit 3ab07a7eda
3 changed files with 91 additions and 3 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ namespace uWS {
QuicApp(SocketContextOptions options = {}) {
/* Create the http3 context */
http3Context = Http3Context::create((us_loop_t *)Loop::get(), options);
http3Context = Http3Context::create((us_loop_t *)Loop::get(), {});
}
QuicApp &listen(int port, std::function<void(void *)> cb) {
@@ -25,7 +25,7 @@ namespace uWS {
}
void run() {
uWS::Loop::get()->run();
}
};