expressjs/expressjs.com

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

Open

#1.151 geöffnet am 15. Mai 2020

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)CSS (5.330 Stars) (2.088 Forks)batch import
enhancementhelp wanted

Beschreibung

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.

Contributor Guide