You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write a helper class for clients which encapsulates the code for making a JsonRPC connection over WebSocket to a service with a specific interface.
When using a service interface that contains an event, if I don't set AllowModificationWhileListening to true when I execute jsonRpc.Attach<TService>(), it throws an exception on the client side saying:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to write a helper class for clients which encapsulates the code for making a JsonRPC connection over WebSocket to a service with a specific interface.
When using a service interface that contains an
event
, if I don't setAllowModificationWhileListening
totrue
when I executejsonRpc.Attach<TService>()
, it throws an exception on the client side saying:Is this expected or am I doing something wrong?
Client helper:
Example problematic interface:
Beta Was this translation helpful? Give feedback.
All reactions