Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit dde84fb

Browse files
authored
v1.3.0
### Releases v1.3.0 1. Add WebServer feature to serve from LittleFS/SPIFFS for ESP32/ESP8266 with examples. Check [**streamFile and serveStatic for ESP8266/ESP32 boards #22**](#22) 2. Add examples [**serveStatic**](https://github.com/khoih-prog/EthernetWebServer/tree/master/examples/serveStatic) and [**serveStaticLoadFile**](https://github.com/khoih-prog/EthernetWebServer/tree/master/examples/serveStaticLoadFile) to use new `serveStatic()`feature 3. Add examples [**ESP32_FS_EthernetWebServer**](https://github.com/khoih-prog/EthernetWebServer/tree/master/examples/ESP32_FS_EthernetWebServer) and [**FS_EthernetWebServer**](https://github.com/khoih-prog/EthernetWebServer/tree/master/examples/FS_EthernetWebServer) to use new `serveStatic()`feature
1 parent 3fb93a1 commit dde84fb

31 files changed

+579
-255
lines changed

README.md

Lines changed: 210 additions & 22 deletions
Large diffs are not rendered by default.

keywords.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ sendHeader KEYWORD2
7878
sendContent KEYWORD2
7979
urlDecode KEYWORD2
8080
streamFile KEYWORD2
81+
serveStatic KEYWORD2
8182

8283
#######################
8384
# Parsing-impl

library.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "EthernetWebServer",
3-
"version": "1.2.1",
4-
"keywords": "WebServer, Ethernet, Ethernet2, Ethernet3, EthernetLarge, EtnernetENC, UIPEthernet, NativeEthernet, Arduino, Teensy, SAMD21, SAMD51, SAM DUE, AVR, Mega, nRF52, ESP32, ESP8266, W5100, W5200, W5500, ENC28J60, HTTP-Client, WebSocket-Client, server, client, websocket",
5-
"description": "Simple Ethernet WebServer, HTTP Client and WebSocket Client library for AVR, Teensy, SAM DUE, SAMD21, SAMD51, ESP, nRF52, ESP32, ESP8266 boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet",
3+
"version": "1.3.0",
4+
"keywords": "WebServer, Ethernet, Ethernet2, Ethernet3, EthernetLarge, EtnernetENC, UIPEthernet, NativeEthernet, Arduino, Teensy, SAMD21, SAMD51, SAM DUE, AVR, Mega, nRF52, ESP32, ESP8266, W5100, W5200, W5500, ENC28J60, HTTP-Client, WebSocket-Client, server, client, websocket, LittleFS, SPIFFS",
5+
"description": "Simple Ethernet WebServer, HTTP Client and WebSocket Client library for AVR, Teensy, SAM DUE, SAMD21, SAMD51, ESP, nRF52, ESP32, ESP8266 boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet. The WebServer supports HTTP GET and POST requests, provides argument parsing, handles one client at a time. It now provides HTTP Client and WebSocket Client. It supports Arduino boards (Atmel AVR-s, SAM DUE, Atmel SAM3X8E ARM Cortex-M3, SAMD21, SAMD51, ESP8266, ESP32, Adafruit nRF52, Teensy boards, Realtek Ameba(RTL8195A,RTL8710)) using Wiznet W5x00 or ENC28J60 network shields. It now supports WebServer serving from LittleFS/SPIFFS for ESP8266/ESP32.",
66
"authors":
77
{
88
"name": "Khoi Hoang",

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name=EthernetWebServer
2-
version=1.2.1
2+
version=1.3.0
33
author=Khoi Hoang
44
license=MIT
55
maintainer=Khoi Hoang <[email protected]>
6-
sentence=Simple Ethernet WebServer, HTTP Client and WebSocket Client library for AVR, Teensy, SAM DUE, SAMD21, SAMD51, ESP, nRF52, ESP32, ESP8266 boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet
7-
paragraph=The WebServer supports HTTP GET and POST requests, provides argument parsing, handles one client at a time. It now provides HTTP Client and WebSocket Client. It supports Arduino boards (Atmel AVR-s, SAM DUE, Atmel SAM3X8E ARM Cortex-M3, SAMD21, SAMD51, ESP8266, ESP32, Adafruit nRF52, Teensy boards, Realtek Ameba(RTL8195A,RTL8710)) using Wiznet W5x00 or ENC28J60 network shields.
6+
sentence=Simple Ethernet WebServer, HTTP Client and WebSocket Client library for AVR, Teensy, SAM DUE, SAMD21, SAMD51, nRF52, ESP32, ESP8266 boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet
7+
paragraph=The WebServer supports HTTP GET and POST requests, provides argument parsing, handles one client at a time. It now provides HTTP Client and WebSocket Client. It supports Arduino boards (Atmel AVR-s, SAM DUE, Atmel SAM3X8E ARM Cortex-M3, SAMD21, SAMD51, ESP8266, ESP32, Adafruit nRF52, Teensy boards, Realtek Ameba(RTL8195A,RTL8710)) using Wiznet W5x00 or ENC28J60 network shields. It now supports WebServer serving from LittleFS/SPIFFS for ESP8266/ESP32.
88
category=Communication
99
url=https://github.com/khoih-prog/EthernetWebServer
1010
architectures=*
53.5 KB
Loading

pics/FS_EthernetWebServer.png

72.9 KB
Loading

pics/serveStatic.png

30.5 KB
Loading

src/EthernetHttpClient.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
88
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer
99
Licensed under MIT license
10-
Version: 1.2.1
10+
Version: 1.3.0
1111
1212
Original author:
1313
@file Esp8266WebServer.h
@@ -34,6 +34,7 @@
3434
1.1.0 K Hoang 17/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
3535
1.2.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
3636
1.2.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
37+
1.3.0 K Hoang 27/01/2021 Add WebServer feature to serve from LittleFS/SPIFFS for ESP32/ESP8266 with examples
3738
*****************************************************************************************************************************/
3839

3940
// Library to simplify HTTP fetching on Arduino

src/EthernetWebServer-impl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
88
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer
99
Licensed under MIT license
10-
Version: 1.2.1
10+
Version: 1.3.0
1111
1212
Original author:
1313
@file Esp8266WebServer.h
@@ -34,6 +34,7 @@
3434
1.1.0 K Hoang 17/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
3535
1.2.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
3636
1.2.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
37+
1.3.0 K Hoang 27/01/2021 Add WebServer feature to serve from LittleFS/SPIFFS for ESP32/ESP8266 with examples
3738
*****************************************************************************************************************************/
3839

3940
#pragma once

src/EthernetWebServer.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
88
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer
99
Licensed under MIT license
10-
Version: 1.2.1
10+
Version: 1.3.0
1111
1212
Original author:
1313
@file Esp8266WebServer.h
@@ -34,11 +34,12 @@
3434
1.1.0 K Hoang 17/11/2020 Add basic HTTP and WebSockets Client by merging ArduinoHttpClient
3535
1.2.0 K Hoang 04/12/2020 Add support to NativeEthernet Library for Teensy 4.1
3636
1.2.1 K Hoang 26/12/2020 Suppress all possible compiler warnings
37+
1.3.0 K Hoang 27/01/2021 Add WebServer feature to serve from LittleFS/SPIFFS for ESP32/ESP8266 with examples
3738
*****************************************************************************************************************************/
3839

3940
#pragma once
4041

41-
#define ETHERNET_WEBSERVER_VERSION "EthernetWebServer v1.2.1"
42+
#define ETHERNET_WEBSERVER_VERSION "EthernetWebServer v1.3.0"
4243

4344
#define USE_NEW_WEBSERVER_VERSION true
4445

0 commit comments

Comments
 (0)