/// <summary> /// <para>DEPRECATED. Use <see cref="Notify(string, object, int)"/> instead.</para> /// </summary> public void Notify(string route, int timeout, IMessage msg) { ProtobufSerializer.SerializationFormat format = _binding.ClientSerializer(_client); NotifyInternal(route, msg, SerializerFactory.CreateProtobufSerializer(format), timeout); }
/// <summary> /// <para>DEPRECATED. Use <see cref="Request<TResponse>(string, object, Action<TResponse>, Action<PitayaError>, int)"/> instead.</para> /// </summary> public void Request <T>(string route, IMessage msg, int timeout, Action <T> action, Action <PitayaError> errorAction) { ProtobufSerializer.SerializationFormat format = _binding.ClientSerializer(_client); RequestInternal(route, msg, timeout, SerializerFactory.CreateProtobufSerializer(format), action, errorAction); }