Xively Official / mbed-libxively-5d6fdd4

Dependents:   xively-jumpstart-demo

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers http_consts.h Source File

http_consts.h

Go to the documentation of this file.
00001 // Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved.
00002 // This is part of Xively C library, it is under the BSD 3-Clause license.
00003 
00004 /**
00005  * \file    http_consts.h
00006  * \author  Olgierd Humenczuk
00007  * \brief   Constants used by our HTTP parser.
00008  */
00009 
00010 #ifndef __HTTP_CONSTS_H__
00011 #define __HTTP_CONSTS_H__
00012 
00013 static const char XI_HTTP_CRLF[]           = "\r\n";
00014 static const char XI_HTTP_CRLFX2[]         = "\r\n\r\n";
00015 static const char XI_HTTP_QUERY_GET[]      = "GET";
00016 static const char XI_HTTP_QUERY_PUT[]      = "PUT";
00017 static const char XI_HTTP_QUERY_POST[]     = "POST";
00018 static const char XI_HTTP_QUERY_DELETE[]   = "DELETE";
00019 
00020 #endif // __HTTP_CONSTS_H__