expressjs/expressjs.com

Add API docs for router(req, res, [next])

Open

#1 151 ouverte le 15 mai 2020

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)CSS (5 330 stars) (2 088 forks)batch import
enhancementhelp wanted

Description

The instance function router(req, res, [next]) I can't find documented in the API docs. We should get it listed there and documented, somewhere in the http://expressjs.com/en/4x/api.html#router section.

The same docs would be in the 4x and 5x API docs.

Guide contributeur