If the request block is requesting HTML, it executes the first closure; if it's requesting XML, it executes the second.
如果发出请求的代码块是在请求HTML,这段代码会执行第一个闭包;如果发出请求的代码块在请求XML,这段代码会执行第二个闭包。
If the request block is requesting HTML, it executes the first closure; if it's requesting XML, it executes the second.
如果发出请求的代码块是在请求HTML,这段代码会执行第一个闭包;如果发出请求的代码块在请求XML,这段代码会执行第二个闭包。
应用推荐