A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers https.c Source File

https.c

00001 #include <stdint.h>
00002 #include <stdbool.h>
00003 
00004 #include "tls.h"
00005 #include "http.h"
00006 
00007 bool HttpsGetTrace()
00008 {
00009     return HttpGetTrace() || TlsTrace;
00010 }
00011 void HttpsReset(int connectionId)
00012 {
00013     TlsReset(connectionId);
00014 }
00015 bool HttpsResponse(int connectionId, bool clientFinished, int* pWindowSize, uint8_t* pWindow, uint32_t windowPositionInStream)
00016 {
00017     return TlsResponse(connectionId, clientFinished, pWindowSize, pWindow, windowPositionInStream);
00018 }
00019 void HttpsRequest (int connectionId, int windowSize, uint8_t* pWindow, uint32_t windowPositionInStream)
00020 {
00021     TlsRequest(connectionId, windowSize, pWindow, windowPositionInStream);
00022 }