summaryrefslogtreecommitdiffstats
path: root/examples/devices
diff options
context:
space:
mode:
authorElmer Thomas <elmer@thinkingserious.com>2016-06-03 19:11:22 -0700
committerElmer Thomas <elmer@thinkingserious.com>2016-06-03 19:11:22 -0700
commita01e8abd40694c9b49f5f2818f66d879660eab8f (patch)
tree59bb89cafe8fcd87796a64c13ae8fa6634825fd3 /examples/devices
parentcc9e4e317d998a703f8d25e27f57c37be2132b33 (diff)
downloadsendgrid-csharp-a01e8abd40694c9b49f5f2818f66d879660eab8f.zip
sendgrid-csharp-a01e8abd40694c9b49f5f2818f66d879660eab8f.tar.gz
sendgrid-csharp-a01e8abd40694c9b49f5f2818f66d879660eab8f.tar.bz2
Updating csharp-http-client dependency
Diffstat (limited to 'examples/devices')
-rw-r--r--examples/devices/devices.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/devices/devices.cs b/examples/devices/devices.cs
index b7164db..2e58403 100644
--- a/examples/devices/devices.cs
+++ b/examples/devices/devices.cs
@@ -18,7 +18,7 @@ string queryParams = @"{
}";
dynamic response = sg.client.devices.stats.get(queryParams: queryParams);
Console.WriteLine(response.StatusCode);
-Console.WriteLine(response.ResponseBody.ReadAsStringAsync().Result);
-Console.WriteLine(response.ResponseHeaders.ToString());
+Console.WriteLine(response.Body.ReadAsStringAsync().Result);
+Console.WriteLine(response.Headers.ToString());
Console.ReadLine();