Any extra code put into a method will execute whenever the corresponding token is encountered.
只要碰到相应的记号,方法内的任何额外代码都将执行。
2
Because all XHR requests are routed through the dojo.xhr call, you can override this call to include an extra header that is used as the unique token, as shown in Listing 1.