Xively C library

Dependents:   Application-xively-jumpstart-demo Application-xively-jumpstart-demo Modified_Xively_Jumpstart HW7-1_Xively_Thermostat

This is Xively C library, the code lives on GitHub.

See our example program and the tutorial, documentation can bee found here.

Revision:
0:82702e998d3f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/libxively/http_consts.h	Wed Jun 26 10:40:43 2013 +0000
@@ -0,0 +1,20 @@
+// Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved.
+// This is part of Xively C library, it is under the BSD 3-Clause license.
+
+/**
+ * \file    http_consts.h
+ * \author  Olgierd Humenczuk
+ * \brief   Constants used by our HTTP parser.
+ */
+
+#ifndef __HTTP_CONSTS_H__
+#define __HTTP_CONSTS_H__
+
+static const char XI_HTTP_CRLF[]           = "\r\n";
+static const char XI_HTTP_CRLFX2[]         = "\r\n\r\n";
+static const char XI_HTTP_QUERY_GET[]      = "GET";
+static const char XI_HTTP_QUERY_PUT[]      = "PUT";
+static const char XI_HTTP_QUERY_POST[]     = "POST";
+static const char XI_HTTP_QUERY_DELETE[]   = "DELETE";
+
+#endif // __HTTP_CONSTS_H__