public void Notify(string route, int timeout, string msg) { PitayaBinding.Notify(_client, route, JsonSerializer.Encode(msg), timeout); }
public void Notify(string route, int timeout, IMessage msg) { var serializer = PitayaBinding.ClientSerializer(_client); PitayaBinding.Notify(_client, route, ProtobufSerializer.Encode(msg, serializer), timeout); }