diff --git a/src/AppWrapper.h b/src/AppWrapper.h index af319786..1454830c 100644 --- a/src/AppWrapper.h +++ b/src/AppWrapper.h @@ -111,6 +111,8 @@ void uWS_App_ws(const FunctionCallbackInfo &args) { pingPf.Reset(args.GetIsolate(), Local::Cast(behaviorObject->Get(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "ping", NewStringType::kNormal).ToLocalChecked()).ToLocalChecked())); /* Pong */ pongPf.Reset(args.GetIsolate(), Local::Cast(behaviorObject->Get(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "pong", NewStringType::kNormal).ToLocalChecked()).ToLocalChecked())); + /* Subscription */ + subscriptionPf.Reset(args.GetIsolate(), Local::Cast(behaviorObject->Get(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "subscription", NewStringType::kNormal).ToLocalChecked()).ToLocalChecked())); }