Skip to content
New issue

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

[feature request]Whether or not you can add parameters to the RouterEntry #466

Open
qcks opened this issue Jan 7, 2025 · 0 comments
Open

Comments

@qcks
Copy link

qcks commented Jan 7, 2025

hello.

I'm a newbie. Would like to count interfaces where 'content-type' is 'text/html' after the service startup route is loaded.

RouterEntry adds the parameter content-type, which is used to learn the type of data to be transmitted as early as possible as a result of routing.

I don't know if it's feasible.


    RouterEntry(
      String verb,
      String route,
      Function handler, {
      Middleware? middleware,
      String? contentType//?
  })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant