internal string GetRequestTopic(string uuid, string msgTopic) { var pre = AvailableReq.Replace("+", uuid).Replace(Topic, ""); return(msgTopic.Substring(pre.Length)); }
internal string GetAvailableReq(string uuid, string msgTopic) => AvailableReq .Replace(Uuid, uuid) .Replace(MessageTopic, msgTopic);
internal string GetAvailableReq(string topic) => AvailableReq .Replace(Topic, topic);