Skip to content
This repository was archived by the owner on Jan 31, 2024. It is now read-only.

Commit ba10e85

Browse files
authored
v1.6.1 to add demo sending in chunks
### Releases v1.6.1 1. Add examples [Async_AdvancedWebServer_SendChunked](https://github.com/khoih-prog/AsyncWebServer_Teensy41/tree/main/examples/Async_AdvancedWebServer_SendChunked) and [AsyncWebServer_SendChunked](https://github.com/khoih-prog/AsyncWebServer_Teensy41/tree/main/examples/AsyncWebServer_SendChunked) to demo how to use `beginChunkedResponse()` to send large `html` in chunks 2. Use `allman astyle` and add `utils`
1 parent fec7816 commit ba10e85

File tree

62 files changed

+5150
-4259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+5150
-4259
lines changed

CONTRIBUTING.md

+29-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Please ensure to specify the following:
1616

1717
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
1818
* `Teensyduino` Core Version (e.g. `Teensyduino core v1.57`)
19-
* `QNEthernet` library version (e.g. `QNEthernet v0.15.0`)
19+
* `QNEthernet` library version (e.g. `QNEthernet v0.16.0`)
2020
* Board type and relevant info
2121
* Contextual information (e.g. what you were trying to achieve)
2222
* Simplest possible steps to reproduce
@@ -30,26 +30,50 @@ Please ensure to specify the following:
3030
```
3131
Arduino IDE version: 1.8.19
3232
Teensyduino core v1.57
33-
Teensy 4.1 using QNEthernet v0.15.0
33+
Teensy 4.1 using QNEthernet v0.16.0
3434
OS: Ubuntu 20.04 LTS
35-
Linux xy-Inspiron-3593 5.15.0-48-generic #54~20.04.1-Ubuntu SMP Thu Sep 1 16:17:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
35+
Linux xy-Inspiron-3593 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3636
3737
Context:
38-
I encountered an endless loop while using this library
39-
38+
I encountered a crash while using this library
4039
Steps to reproduce:
4140
1. ...
4241
2. ...
4342
3. ...
4443
4. ...
4544
```
45+
46+
### Additional context
47+
48+
Add any other context about the problem here.
49+
50+
---
51+
4652
### Sending Feature Requests
4753

4854
Feel free to post feature requests. It's helpful if you can explain exactly why the feature would be useful.
4955

5056
There are usually some outstanding feature requests in the [existing issues list](https://github.com/khoih-prog/AsyncWebServer_Teensy41/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement), feel free to add comments to them.
5157

58+
---
59+
5260
### Sending Pull Requests
5361

5462
Pull Requests with changes and fixes are also welcome!
5563

64+
Please use the `astyle` to reformat the updated library code as follows (demo for Ubuntu Linux)
65+
66+
1. Change directory to the library GitHub
67+
68+
```
69+
xy@xy-Inspiron-3593:~$ cd Arduino/xy/AsyncWebServer_Teensy41_GitHub/
70+
xy@xy-Inspiron-3593:~/Arduino/xy/AsyncWebServer_Teensy41_GitHub$
71+
```
72+
73+
2. Issue astyle command
74+
75+
```
76+
xy@xy-Inspiron-3593:~/Arduino/xy/AsyncWebServer_Teensy41_GitHub$ bash utils/restyle.sh
77+
```
78+
79+

changelog.md

+11
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@
66
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
77
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/AsyncWebServer_Teensy41.svg)](http://github.com/khoih-prog/AsyncWebServer_Teensy41/issues)
88

9+
<a href="https://www.buymeacoffee.com/khoihprog6" title="Donate to my libraries using BuyMeACoffee"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Donate to my libraries using BuyMeACoffee" style="height: 50px !important;width: 181px !important;" ></a>
10+
<a href="https://www.buymeacoffee.com/khoihprog6" title="Donate to my libraries using BuyMeACoffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-orange.svg?logo=buy-me-a-coffee&logoColor=FFDD00" style="height: 20px !important;width: 200px !important;" ></a>
11+
<a href="https://profile-counter.glitch.me/khoih-prog/count.svg" title="Total khoih-prog Visitor count"><img src="https://profile-counter.glitch.me/khoih-prog/count.svg" style="height: 30px;width: 200px;"></a>
12+
<a href="https://profile-counter.glitch.me/khoih-prog-AsyncWebServer_Teensy41/count.svg" title="Visitor count"><img src="https://profile-counter.glitch.me/khoih-prog-AsyncWebServer_Teensy41/count.svg" style="height: 30px;width: 200px;"></a>
13+
914
---
1015
---
1116

1217
## Table of contents
1318

1419
* [Table of contents](#table-of-contents)
1520
* [Changelog](#changelog)
21+
* [Releases v1.6.1](#releases-v161)
1622
* [Releases v1.6.0](#releases-v160)
1723
* [Releases v1.5.0](#releases-v150)
1824
* [Releases v1.4.1](#releases-v141)
@@ -22,6 +28,11 @@
2228

2329
## Changelog
2430

31+
### Releases v1.6.1
32+
33+
1. Add examples [Async_AdvancedWebServer_SendChunked](https://github.com/khoih-prog/AsyncWebServer_Teensy41/tree/main/examples/Async_AdvancedWebServer_SendChunked) and [AsyncWebServer_SendChunked](https://github.com/khoih-prog/AsyncWebServer_Teensy41/tree/main/examples/AsyncWebServer_SendChunked) to demo how to use `beginChunkedResponse()` to send large `html` in chunks
34+
2. Use `allman astyle` and add `utils`
35+
2536
### Releases v1.6.0
2637

2738
1. Support using `CString` to save heap to send `very large data`. Check [request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8) and [All memmove() removed - string no longer destroyed #11](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/11)

0 commit comments

Comments
 (0)