How use middleware and Processor #156
Replies: 4 comments 3 replies
-
Hello,
Middleware support is not documented in the project doc, it is documented through the API (headers) - the code is a doc - and also through the little examples. Middlewares are executed in order and each middleware decides to call
Templates are supported - I don't know if this is what you mean ? For i18n, I would not use templates... I would more use something handled frontend-side. |
Beta Was this translation helpful? Give feedback.
-
I will take a look to the code, talking about Templates i serve gzipped file directly, this will work? I think not... |
Beta Was this translation helpful? Give feedback.
-
is it possible to prepare a json document on the middlware and pass it to server.on to add values?? |
Beta Was this translation helpful? Give feedback.
-
good, I will study it! Another question, if I remove the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I used the me no dev library for a long time, now OTA he forces me to use this library.
Nothing against you, but I really like the middleware presence!
Looking on the documentation, I was asking me, there's a way to make pre and post middlware?
I need to check if a parameter is set, get the value and happend it on the response.
Is possible? Can I concatenate more middlware?
About Processor, you are telling me that I can replace all the strings in my html files and put the translations in the esp32 side??? 🦅
Beta Was this translation helpful? Give feedback.
All reactions