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.

Committer:
feb11
Date:
Mon Sep 16 10:39:01 2013 +0000
Revision:
0:1abc65a0f50b
initial import

Who changed what in which revision?

UserRevisionLine numberNew contents of line
feb11 0:1abc65a0f50b 1 #ifndef HTTP_STATUS_H
feb11 0:1abc65a0f50b 2 #define HTTP_STATUS_H
feb11 0:1abc65a0f50b 3
feb11 0:1abc65a0f50b 4
feb11 0:1abc65a0f50b 5 enum HTTPStatus {
feb11 0:1abc65a0f50b 6 HTTP_OK = 200,
feb11 0:1abc65a0f50b 7 HTTP_BAD_REQUEST = 400,
feb11 0:1abc65a0f50b 8 HTTP_UNAUTHORIZED,
feb11 0:1abc65a0f50b 9 HTTP_FORBIDDEN = 403,
feb11 0:1abc65a0f50b 10 HTTP_NOT_FOUND,
feb11 0:1abc65a0f50b 11 HTTP_INTERNAL_ERROR = 500,
feb11 0:1abc65a0f50b 12 HTTP_INVALID = 0
feb11 0:1abc65a0f50b 13 };
feb11 0:1abc65a0f50b 14
feb11 0:1abc65a0f50b 15
feb11 0:1abc65a0f50b 16 #endif
feb11 0:1abc65a0f50b 17