mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-01-27 01:02:19 +01:00
arduino json 6 async web server migration (#491)
* arduino json 6 async web server migration
* Update .travis.yml
fix travis error
* Revert "Update .travis.yml"
This reverts commit 37d1bf0e71.
* gitignore
* test fix travis
* fix travis
* fix proposed in #487
* fix travis
* fix travis
* fix travis
* fix travis
* ARDUINOJSON_5_COMPATIBILITY
* replaced to #if ARDUINOJSON_VERSION_MAJOR == 5
* fix
* added AsyncWebServer::end()
* added AsyncWebServer::end()
* Update WebServer.cpp
fix
* fix typo
* fix typo
This commit is contained in:
@@ -52,8 +52,9 @@ AsyncWebServer::AsyncWebServer(uint16_t port)
|
||||
}
|
||||
|
||||
AsyncWebServer::~AsyncWebServer(){
|
||||
reset();
|
||||
delete _catchAllHandler;
|
||||
reset();
|
||||
end();
|
||||
if(_catchAllHandler) delete _catchAllHandler;
|
||||
}
|
||||
|
||||
AsyncWebRewrite& AsyncWebServer::addRewrite(AsyncWebRewrite* rewrite){
|
||||
@@ -83,6 +84,10 @@ void AsyncWebServer::begin(){
|
||||
_server.begin();
|
||||
}
|
||||
|
||||
void AsyncWebServer::end(){
|
||||
_server.end();
|
||||
}
|
||||
|
||||
#if ASYNC_TCP_SSL_ENABLED
|
||||
void AsyncWebServer::onSslFileRequest(AcSSlFileHandler cb, void* arg){
|
||||
_server.onSslFileRequest(cb, arg);
|
||||
|
||||
Reference in New Issue
Block a user