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 am using MQTTnet.Extensions.Rpc to do RPC calls via MQTT (great library btw 👍 ).
I would like to use one IMqttRpcClient to do requests to different request/response topics. Prove me wrong but this is not currently supported by library, because ExecuteAsync method overloads only accepts methodName as parameter. So when I want to create dynamic MqttRpcTopicPair for each ExecuteAsync call I have to encode/serialize this to method name and parse it in custom implementation of IMqttRpcClientTopicGenerationStrategy.
Which project is your feature request related to?
ManagedClient
Describe the solution you'd like
Add some kind of key value property maybe IDictionary<string, object> to TopicGenerationContext so I do not have to serialize/parse this "per request" topic generation from method name.
Describe alternatives you've considered
Add overload of ExecuteAsync with MqttRpcTopicPair as parameter ?
The text was updated successfully, but these errors were encountered:
Describe the feature request
I am using
MQTTnet.Extensions.Rpc
to do RPC calls via MQTT (great library btw 👍 ).I would like to use one
IMqttRpcClient
to do requests to different request/response topics. Prove me wrong but this is not currently supported by library, becauseExecuteAsync
method overloads only acceptsmethodName
as parameter. So when I want to create dynamicMqttRpcTopicPair
for eachExecuteAsync
call I have to encode/serialize this to method name and parse it in custom implementation ofIMqttRpcClientTopicGenerationStrategy
.Which project is your feature request related to?
Describe the solution you'd like
Add some kind of key value property maybe
IDictionary<string, object>
toTopicGenerationContext
so I do not have to serialize/parse this "per request" topic generation from method name.Describe alternatives you've considered
Add overload of
ExecuteAsync
withMqttRpcTopicPair
as parameter ?The text was updated successfully, but these errors were encountered: