Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

rename HTTP_* to avoid redeclaration errors with ESP8266WebServer.h - #215

Closed
drnic wants to merge 1 commit into
me-no-dev:masterfrom
drnic:ESP8266WebServerOK
Closed

rename HTTP_* to avoid redeclaration errors with ESP8266WebServer.h#215
drnic wants to merge 1 commit into
me-no-dev:masterfrom
drnic:ESP8266WebServerOK

Conversation

@drnic

@drnic drnic commented Sep 1, 2017

Copy link
Copy Markdown

I was trying to combine FauxMo which uses this library, and https://github.com/tzapu/WiFiManager
which uses ESP8266WebServer.h. Unfortunately there is a clash over the HTTP_* enums.

This PR renames them to allow the two headers (this and ESP8266WebServer.h) to be
used in the same project.

@drnic

drnic commented Sep 1, 2017

Copy link
Copy Markdown
Author

This PR may be a breaking change for clients such as https://bitbucket.org/xoseperez/fauxmoesp/pull-requests/3/support-for-async_http_-rename-in/diff

@drnic

drnic commented Sep 1, 2017

Copy link
Copy Markdown
Author

@drnic drnic closed this Nov 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant