Giter Site home page Giter Site logo

Comments (4)

khoih-prog avatar khoih-prog commented on May 29, 2024

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.

khoih-prog avatar khoih-prog commented on May 29, 2024

I'll release a new version today to fix that conflict. Hold on if you still have some issue.

from asynchttprequest_generic.

baddwarf avatar baddwarf commented on May 29, 2024

Many thanks. I'll check that ASAP.

from asynchttprequest_generic.

khoih-prog avatar khoih-prog commented on May 29, 2024

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

  1. Rename _lock and _unlock to avoid conflict with ESP32/ESP8266 AsyncWebServer library. Check compatibility with ESPAsyncWebServer #11
  2. Fix compiler warnings.

from asynchttprequest_generic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.