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

Conversation

@me21
Copy link
Contributor

@me21 me21 commented Sep 5, 2017

No description provided.

me21 added 4 commits July 18, 2017 16:00
Unzipped files in SPIFFS, Streams, PROGMEM strings, callback/chunked responses may have template placeholders like %TEMPLATE_VAR% inside. If callback is specified in Async...Response constructor call, it will be used to replace these with actual strings.
The prototype of callback is String(const String&), i.e. it gets variable name and returns its value.
Template variables' delimiter is currently percent sign ('%').
Maximal placeholder length is 32 chars (chosen somewhat arbitrarily, it may be stored on stack during processing). It is not guaranteed that placeholders longer than that will be processed.

Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
…t lost during pull request & merge process: fixes me-no-dev#211, updates documentation.

# Conflicts:
#	README.md
#	src/WebResponses.cpp

Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
@me21
Copy link
Contributor Author

me21 commented Sep 5, 2017

Hmm, it keeps on adding old commits which were already merged.

@me21 me21 closed this Sep 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant