Make tests

This commit is contained in:
Alex Hultman
2018-07-02 21:56:21 +02:00
parent aac0eee30a
commit df2a48f042
6 changed files with 15 additions and 103 deletions
+4
View File
@@ -88,6 +88,10 @@ protected:
// onHttpRequest should probably be hard-coded to HttpRouter
((HttpSocket<SSL> *) s)->onData(data, length, appData->onHttpRequest);
// compared to routing directly
//typename Data::UserData user = {(HttpSocket<SSL> *) s, nullptr};
//appData->r.route("GET", 3, "/", 1, &user);
});
static_dispatch(us_ssl_socket_context_on_writable, us_socket_context_on_writable)(httpServerContext, [](auto *s) {