aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-12-19 12:57:04 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-12-19 12:57:04 +0200
commitde762e7e5b346af5a12eff04cbaa0696eec15b8c (patch)
tree76368bb6e9f62af738ab8420c4db19079b702fa3 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
parent0f5a0b13fc4408952d90d2450c642a7948b88879 (diff)
downloadTango-de762e7e5b346af5a12eff04cbaa0696eec15b8c.tar.gz
Tango-de762e7e5b346af5a12eff04cbaa0696eec15b8c.zip
Moved all web transport to json :/
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
index eb47ae231..1f86e0953 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs
@@ -112,9 +112,9 @@ namespace Tango.PPC.Common.MachineSetup
try
{
- using (var http = new ProtoWebClient())
+ using (var http = new WebTransportClient())
{
- setup_response = await http.Post<MachineSetupRequest, MachineSetupResponse>(machineServiceAddress + "/api/PPC/MachineSetup", request);
+ setup_response = await http.PostJson<MachineSetupRequest, MachineSetupResponse>(machineServiceAddress + "/api/PPC/MachineSetup", request);
}
}
catch (Exception ex)