Skip to content

improved router prototype#111

Merged
guzba merged 10 commits into
masterfrom
ryan
Feb 6, 2024
Merged

improved router prototype#111
guzba merged 10 commits into
masterfrom
ryan

Conversation

@guzba
Copy link
Copy Markdown
Owner

@guzba guzba commented Feb 5, 2024

Adds:

  • request.path for the decoded HTTP request path
  • request.queryParams for the decoded HTTP query string key-value entries
  • request.pathParams for the key-value entries of named path parameters (only used if a router sets them)

Incoming HTTP requests with invalid URIs are now logged and dropped.

Backwards compatible so existing mummy/routers users should not be broken.

@guzba guzba mentioned this pull request Feb 5, 2024
@guzba guzba merged commit adc743e into master Feb 6, 2024
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.

2 participants