Installing the Asynchronous Web Server library

1. ESP8266 Asynchronous Web Server

To build the web server we’ll use the ESPAsyncWebServer library that provides an easy way to build an asynchronous web server. Building an asynchronous web server has several advantages. We recommend taking a quick look at the library documentation on its GitHub page.

Installing the ESPAsyncWebServer library

The ESPAsyncWebServer library is not available to install in the Arduino IDE Library Manager. So, you need to install it manually.

Follow the next steps to install the ESPAsyncWebServer library:

  1. Click here to download the ESPAsyncWebServer library. You should have a .zip folder in your Downloads folder

  2. Unzip the .zip folder and you should get ESPAsyncWebServer-master folder

  3. Rename your folder from ESPAsyncWebServer-master to ESPAsyncWebServer

  4. Move the ESPAsyncWebServer folder to your Arduino IDE installation libraries folder

Installing the ESPAsync TCP Library

The ESPAsyncWebServer library requires the ESPAsyncTCP library to work. Follow the next steps to install that library:

  1. Click here to download the ESPAsyncTCP library. You should have a .zip folder in your Downloads folder

  2. Unzip the .zip folder and you should get ESPAsyncTCP-master folder

  3. Rename your folder from ESPAsyncTCP-master to ESPAsyncTCP

  4. Move the ESPAsyncTCP folder to your Arduino IDE installation libraries folder

  5. Finally, re-open your Arduino IDE.

Last updated