mirror of
https://github.com/uNetworking/uWebSockets.js.git
synced 2026-04-20 17:00:25 -04:00
Read subscription event
This commit is contained in:
@@ -111,6 +111,8 @@ void uWS_App_ws(const FunctionCallbackInfo<Value> &args) {
|
||||
pingPf.Reset(args.GetIsolate(), Local<Function>::Cast(behaviorObject->Get(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "ping", NewStringType::kNormal).ToLocalChecked()).ToLocalChecked()));
|
||||
/* Pong */
|
||||
pongPf.Reset(args.GetIsolate(), Local<Function>::Cast(behaviorObject->Get(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "pong", NewStringType::kNormal).ToLocalChecked()).ToLocalChecked()));
|
||||
/* Subscription */
|
||||
subscriptionPf.Reset(args.GetIsolate(), Local<Function>::Cast(behaviorObject->Get(isolate->GetCurrentContext(), String::NewFromUtf8(isolate, "subscription", NewStringType::kNormal).ToLocalChecked()).ToLocalChecked()));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user