Skip to content

Commit

Permalink
Merge pull request #982 from kingosticks/patch-1
Browse files Browse the repository at this point in the history
docs fix NotifyClientOfEvents option name
  • Loading branch information
AArnott authored Dec 1, 2023
2 parents f97506a + 8ea2e0a commit e266adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/recvrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit e266adf

Please sign in to comment.