mirror of
https://github.com/esp8266/Arduino.git
synced 2025-05-28 03:41:25 +03:00
Adds SSL server mode for WiFiServerSecure, for plain SSL connections, ESP8266WebServerSecure, for HTTPS web serving, and SecureHTTPSUpdater for encrypted OTA updates. Example code is provided for all new options, as well as a BASH script for generating their own, self-signed certificates. Both ESP8266WebServerSecure and SecureHTTPSUpdater are important for secure password-based authentication. HTTP Basic Authentication, the only supported model presently, sends the username and password in *cleartext* and therefore should *never* be used in any un-SSL encrypted channel unless you don't mind sharing your login and password with anyone else on the internet. Even if the ESP8266 is not safety critical, this cleartext broadcast could expose you should you reuse this password elsewhere on your network or the internet.
39 lines
817 B
Plaintext
39 lines
817 B
Plaintext
#######################################
|
|
# Syntax Coloring Map For Ultrasound
|
|
#######################################
|
|
|
|
#######################################
|
|
# Datatypes (KEYWORD1)
|
|
#######################################
|
|
|
|
ESP8266WebServer KEYWORD1
|
|
ESP8266WebServerSecure KEYWORD1
|
|
HTTPMethod KEYWORD1
|
|
|
|
#######################################
|
|
# Methods and Functions (KEYWORD2)
|
|
#######################################
|
|
|
|
begin KEYWORD2
|
|
handleClient KEYWORD2
|
|
on KEYWORD2
|
|
addHandler KEYWORD2
|
|
uri KEYWORD2
|
|
method KEYWORD2
|
|
client KEYWORD2
|
|
send KEYWORD2
|
|
arg KEYWORD2
|
|
argName KEYWORD2
|
|
args KEYWORD2
|
|
hasArg KEYWORD2
|
|
onNotFound KEYWORD2
|
|
|
|
#######################################
|
|
# Constants (LITERAL1)
|
|
#######################################
|
|
|
|
HTTP_GET LITERAL1
|
|
HTTP_POST LITERAL1
|
|
HTTP_ANY LITERAL1
|
|
CONTENT_LENGTH_UNKNOWN LITERAL1
|