res.links(links)
加入作为参数属性提供的 links
以填充响应的 Link
HTTP 标头字段。
Joins the links
provided as properties of the parameter to populate the response's Link
HTTP header field.
c2pFIYdKmi7kOShvOlbbaWHNYZqTEg9A+GGAizjicE7xmQEcWpTwhxWL3yK/tf+eW7Kn8hV/6XhuYQvOtYwvA3HWVhecaBZSChrKEx/cQAY=
res.links({
next: 'http://api.example.com/users?page=2',
last: 'http://api.example.com/users?page=5'
})
Y1GKkkOUG4vP/943TqQXCTar/TglBc8uJAd+QlRSf54SjmA3KhIzvX0oZAF76rO1jGzUmefj48GNuoi55VU0PSkm/0eRZIf+h8xzF4jv1CI=
Link: <http://api.example.com/users?page=2>; rel="next",
<http://api.example.com/users?page=5>; rel="last"