跳到主要内容
0

本课内容目前为英文。

Code around every request

Every request should be logged, timed and protected from crashes. Copying that code into fifty handlers is how bugs are born. Middleware wraps a handler so the work happens once, for every route.