expressjs/expressjs.com

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

Open

#1.151 aberto em 15 de mai. de 2020

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)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.

Guia do colaborador