From 8ea2e0a88373b1f2ad2cbfd42087f7cf587e683a Mon Sep 17 00:00:00 2001 From: Nick Steel Date: Tue, 28 Nov 2023 10:20:21 +0000 Subject: [PATCH] docs fix NotifyClientOfEvents option name Was "NotifyClientsOfEvents" in docs, should be "NotifyClientOfEvents" --- doc/recvrequest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/recvrequest.md b/doc/recvrequest.md index d0c221323..8c555d1fd 100644 --- a/doc/recvrequest.md +++ b/doc/recvrequest.md @@ -106,7 +106,7 @@ You can customize the method names used in the event notification by adding the with a `JsonRpcTargetOptions` with a custom function set to its EventNameTransform property. You can stop `JsonRpc` from sending notifications for events on the server object by adding the target object -with a `new JsonRpcTargetOptions { NotifyClientsOfEvents = false }` argument (the default is `true`). +with a `new JsonRpcTargetOptions { NotifyClientOfEvents = false }` argument (the default is `true`). You may want to turn off the event functionality if your target object is reused from another class and has events that shouldn't be exposed to RPC.