Comments (4)
You can try the simple solution as follows to see if it's working for you
#include <AsyncHTTPRequest_Generic.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Generic
AsyncHTTPRequest request;
...
#undef _lock // to undefine _lock in AsyncHTTPRequest_Generic.h to avoid conflict
#include <ESPAsyncWebServer.h>
If not, you can temporarily modify either ESPAsyncWebServer.h
or AsyncHTTPRequest_Generic.h
and change from _lock
to _localLock
or whatever unique.
In the future release of AsyncHTTPRequest_Generic, I'll try to use namespace to avoid name-pollution issue.
from asynchttprequest_generic.
I'll release a new version today to fix that conflict. Hold on if you still have some issue.
from asynchttprequest_generic.
Many thanks. I'll check that ASAP.
from asynchttprequest_generic.
Hi @baddwarf
The new release has been published. You contribution has been noted in Contributions and Thanks. Don't be humble anymore, we, Library Writers, need many fresh eyes and minds to test, use and point out many of our mistakes and omissions.
Please test and report if there is any further issue.
Releases v1.1.2
- Rename _lock and _unlock to avoid conflict with ESP32/ESP8266 AsyncWebServer library. Check compatibility with ESPAsyncWebServer #11
- Fix compiler warnings.
from asynchttprequest_generic.
Related Issues (20)
- ESP8266 issue platformio HOT 3
- POSTing data appears to just append to url HOT 5
- Rapid http get polling causes crash when host disconnected HOT 1
- How can I send https requests? HOT 2
- HTTPS Support HOT 3
- Pushover https post request HOT 16
- Http GET polling causes crash when host disconnected HOT 8
- Compile error with ESP8266 and Platformio HOT 2
- LiquidCrystal_I2C lcd not printing correctly in requestCB async method HOT 1
- No HTTPS Support! HOT 1
- Compilation for ESP32 in PIO requests STM32 framework files? HOT 1
- Help with domoticz HOT 1
- Request will get stuck in readyStateOpened after 25 or more successful requests HOT 4
- Redundant code HOT 2
- Getting no response when making requests to an invalid-endpoint HOT 2
- setTimeout() hasn't any effect HOT 4
- Release 1.9 breakes previously running code HOT 3
- Callback behaviour is buggy (ESP8266) HOT 4
- Host/Headers not always sent with 1.10.1 HOT 6
- Exception cause 28 in open request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asynchttprequest_generic.