Skip to content

Berry 'webserver.remove_route' to revert 'webserver.on'#23452

Merged
s-hadinger merged 1 commit into
arendst:developmentfrom
s-hadinger:berry_webserver_remove_route
May 20, 2025
Merged

Berry 'webserver.remove_route' to revert 'webserver.on'#23452
s-hadinger merged 1 commit into
arendst:developmentfrom
s-hadinger:berry_webserver_remove_route

Conversation

@s-hadinger
Copy link
Copy Markdown
Collaborator

Description:

Berry add ability to revert webserver.on and make all objects removable by GC:

  • webserver.remove_route(prefix:string, [, method:int]) -> bool to remove a previously defined route with webserver.on()
  • internal function WebServer_removeRoute added (for ESP32 only)

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.8
  • The code change is tested and works with Tasmota core ESP32 V.3.1.3.250504
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@s-hadinger s-hadinger merged commit 40bc108 into arendst:development May 20, 2025
60 checks passed
echo-bravo-yahoo pushed a commit to echo-bravo-yahoo/Tasmota that referenced this pull request Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant