We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Route docs don't explain what is passed into callbacks for match and handler.
match function The function that determines whether the route matches.
handler Object An Object with a handle method. That method will be used to respond to matching requests.
method string (Optional) Only match requests that use this HTTP method. Defaults to 'GET' if not specified.
The text was updated successfully, but these errors were encountered:
I've got a PR coming up with revised JSDocs. I'll make sure to clarify that.
Sorry, something went wrong.
jeffposnick
No branches or pull requests
The Route docs don't explain what is passed into callbacks for match and handler.
match function
The function that determines whether the route matches.
handler Object
An Object with a handle method. That method will be used to respond to matching requests.
method string (Optional)
Only match requests that use this HTTP method. Defaults to 'GET' if not specified.
The text was updated successfully, but these errors were encountered: