Small wrapper of TLS_cyassl
Dependents: HTTPSClientExample2
This is a small wrapper of TLS_cyassl to easily sends GET requests over HTTPS. This library is used in the same way as HTTPSClient_axTLS.
Import programHTTPSClientExample2
This example shows how to use the TLS_cyassl library. It connects to twitter.com and downloads a webpage.
Diff: HTTPStatus.h
- Revision:
- 0:1abc65a0f50b
diff -r 000000000000 -r 1abc65a0f50b HTTPStatus.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HTTPStatus.h Mon Sep 16 10:39:01 2013 +0000 @@ -0,0 +1,17 @@ +#ifndef HTTP_STATUS_H +#define HTTP_STATUS_H + + +enum HTTPStatus { + HTTP_OK = 200, + HTTP_BAD_REQUEST = 400, + HTTP_UNAUTHORIZED, + HTTP_FORBIDDEN = 403, + HTTP_NOT_FOUND, + HTTP_INTERNAL_ERROR = 500, + HTTP_INVALID = 0 +}; + + +#endif +