| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,5 +49,5 @@ Release/ | |||
| 49 | 49 | .scala_dependencies | |
| 50 | 50 | .worksheet | |
| 51 | 51 | ||
| 52 | - data/wifi/wifi.h | ||
| 53 | - data/cert/*.h | ||
| 52 | + examples/wifi/wifi.h | ||
| 53 | + examples/cert/*.h | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,6 +55,6 @@ openssl rsa -in example.key -outform DER -out example.key.DER | |||
| 55 | 55 | openssl x509 -in example.crt -outform DER -out example.crt.DER | |
| 56 | 56 | ||
| 57 | 57 | # create header files | |
| 58 | - mkdir ../../data/cert | ||
| 59 | - xxd -i example.crt.DER > ../../data/cert/cert.h | ||
| 60 | - xxd -i example.key.DER > ../../data/cert/private_key.h | ||
| 58 | + mkdir ../examples/cert | ||
| 59 | + xxd -i example.crt.DER > ../examples/cert/cert.h | ||
| 60 | + xxd -i example.key.DER > ../examples/cert/private_key.h | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,11 +32,11 @@ | |||
| 32 | 32 | #include "data/favicon.h" | |
| 33 | 33 | ||
| 34 | 34 | // Inlcudes for setting up the server | |
| 35 | - #include "https/HTTPSServer.hpp" | ||
| 35 | + #include "src/HTTPSServer.hpp" | ||
| 36 | 36 | ||
| 37 | 37 | // Includes to define request handler callbacks | |
| 38 | - #include "https/HTTPRequest.hpp" | ||
| 39 | - #include "https/HTTPResponse.hpp" | ||
| 38 | + #include "src/HTTPRequest.hpp" | ||
| 39 | + #include "src/HTTPResponse.hpp" | ||
| 40 | 40 | ||
| 41 | 41 | // The server loop will be configured as a separate task, so the server will run | |
| 42 | 42 | // independently from all other code. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,16 @@ | |||
| 1 | + ConnectionContext KEYWORD1 | ||
| 2 | + HTTPConnection KEYWORD1 | ||
| 3 | + HTTPHeader KEYWORD1 | ||
| 4 | + HTTPHeaders KEYWORD1 | ||
| 5 | + HTTPMiddlewareFunction KEYWORD1 | ||
| 6 | + HTTPRequest KEYWORD1 | ||
| 7 | + HTTPResponse KEYWORD1 | ||
| 8 | + HTTPSCallbackFunction KEYWORD1 | ||
| 9 | + HTTPSConnection KEYWORD1 | ||
| 10 | + HTTPServer KEYWORD1 | ||
| 11 | + HTTPSServer KEYWORD1 | ||
| 12 | + ResolvedResource KEYWORD1 | ||
| 13 | + ResourceNode KEYWORD1 | ||
| 14 | + ResourceParameters KEYWORD1 | ||
| 15 | + ResourceResolver KEYWORD1 | ||
| 16 | + SSLCert KEYWORD1 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,10 @@ | |||
| 1 | + name=ESP32 HTTP(S) Webserver | ||
| 2 | + version=0.1.0 | ||
| 3 | + author=Frank Hessel <frank@fhessel.de> | ||
| 4 | + maintainer=Frank Hessel <frank@fhessel.de> | ||
| 5 | + sentence=SSL/TLS-enabled HTTPS server library for the ESP32. | ||
| 6 | + paragraph=The library allows to define handler functions for specific request URLs, provides some help with the HTTP protocol. It can handle unencrypted HTTP traffic as well. | ||
| 7 | + category=Communication | ||
| 8 | + url=https://github.com/fhessel/esp32_https_server | ||
| 9 | + architectures=esp32 | ||
| 10 | + includes=HTTPSServer.hpp,HTTPRequest.hpp,HTTPResponse.hpp | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | * Author: frank | |
| 6 | 6 | */ | |
| 7 | 7 | ||
| 8 | - #include "ConnectionContext.hpp" | ||
| 8 | + #include "../src/ConnectionContext.hpp" | ||
| 9 | 9 | ||
| 10 | 10 | namespace httpsserver { | |
| 11 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,8 +5,8 @@ | |||
| 5 | 5 | * Author: frank | |
| 6 | 6 | */ | |
| 7 | 7 | ||
| 8 | - #ifndef HTTPS_CONNECTIONCONTEXT_HPP_ | ||
| 9 | - #define HTTPS_CONNECTIONCONTEXT_HPP_ | ||
| 8 | + #ifndef SRC_CONNECTIONCONTEXT_HPP_ | ||
| 9 | + #define SRC_CONNECTIONCONTEXT_HPP_ | ||
| 10 | 10 | ||
| 11 | 11 | #include <Arduino.h> | |
| 12 | 12 | ||
@@ -35,4 +35,4 @@ class ConnectionContext { | |||
| 35 | 35 | ||
| 36 | 36 | } /* namespace httpsserver */ | |
| 37 | 37 | ||
| 38 | - #endif /* HTTPS_CONNECTIONCONTEXT_HPP_ */ | ||
| 38 | + #endif /* SRC_CONNECTIONCONTEXT_HPP_ */ | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - #include "HTTPConnection.hpp" | ||
| 1 | + #include "../src/HTTPConnection.hpp" | ||
| 2 | 2 | ||
| 3 | 3 | namespace httpsserver { | |
| 4 | 4 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments