You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to convert my project from ESPAsyncWebServer to PsychicHttp for SSL support reason. By using ESPAsyncWebServer I can send response to the client by request->send_P(200, "text/html", page_html, page_html_processor); . So I can provide page_html_processor parameter in send_P method in order to replace variables defined in static html. But I can't find a matching method with send_P in PsychicHttp library. I found reply method but it hasn't a callback function parameter like AwsTemplateProcessor callback = nullptr.
Is there any way to use html template processor paramater in PsychicHttp?
Thank you,
Orkun Gedik
The text was updated successfully, but these errors were encountered:
orkungedik
changed the title
request->send_P method
Lack of template processor and missing methods
Jan 5, 2024
Hi,
I am trying to convert my project from ESPAsyncWebServer to PsychicHttp for SSL support reason. By using ESPAsyncWebServer I can send response to the client by
request->send_P(200, "text/html", page_html, page_html_processor);
. So I can provide page_html_processor parameter in send_P method in order to replace variables defined in static html. But I can't find a matching method with send_P in PsychicHttp library. I found reply method but it hasn't a callback function parameter like AwsTemplateProcessor callback = nullptr.Is there any way to use html template processor paramater in PsychicHttp?
Thank you,
Orkun Gedik
The text was updated successfully, but these errors were encountered: