官术网_书友最值得收藏!

Questions

So, now that you're at the end of this chapter, you should be able to answer the following questions:

  1. What are the special route tokens?
  2. How can we prevent a route from being selected depending on the request's HTTP verb?
  3. How can we prevent a route from being selected unless the request uses HTTPS?
  4. How can we serve different views depending on the occurred HTTP error code?
  5. How can we prevent methods in controllers from being called?
  6. How can we force a route value to be of a particular type (for example, a number)?
  7. What is a route handler?
主站蜘蛛池模板: 贺州市| 漳浦县| 弋阳县| 璧山县| 武隆县| 杭州市| 齐齐哈尔市| 新巴尔虎左旗| 邳州市| 乌兰察布市| 宜章县| 建阳市| 临泽县| 淅川县| 卢龙县| 安乡县| 东乡族自治县| 岫岩| 琼海市| 肇州县| 宜宾县| 侯马市| 洞口县| 万州区| 晋城| 东安县| 永仁县| 抚宁县| 洮南市| 舟山市| 增城市| 内黄县| 大安市| 兴和县| 清徐县| 延庆县| 彭阳县| 彝良县| 阿坝县| 高淳县| 精河县|