Expose constructorFailed

This commit is contained in:
Alex Hultman
2019-02-10 12:37:56 +01:00
parent 02f20bf030
commit b6173d68b4
+4
View File
@@ -82,6 +82,10 @@ public:
httpContext = uWS::HttpContext<SSL>::create(uWS::Loop::defaultLoop(), options);
}
bool constructorFailed() {
return !httpContext;
}
struct WebSocketBehavior {
CompressOptions compression = DISABLED;
int maxPayloadLength = 16 * 1024;