Answers for "router"

27

Router

$ npm install --save react-router-dom
Posted by: Guest on June-13-2020
0

router

app.get('/', function (req, res) {
  res.send('Hello World!')
})
Posted by: Guest on May-11-2021
0

router

// wiki.js - Wiki route module.

var express = require('express');
var router = express.Router();

// Home page route.
router.get('/', function (req, res) {
  res.send('Wiki home page');
})

// About page route.
router.get('/about', function (req, res) {
  res.send('About this wiki');
})

module.exports = router;
Posted by: Guest on May-07-2021
0

how router makes descisopn

Destitnaion in routing table(Is the destintion there or not.)
Longest match.
AD Lowest wins.
Depends on the rotingprotocol metric(RIP - hops & OSTF - cost)
Posted by: Guest on March-09-2020

Browse Popular Code Answers by Language