message handler
常見例句
- Listing 1 shows a message handler that reads the request body while the request is being sent.
清單 1 顯示了一個(gè)消息処理程序,用於在發(fā)送請求時(shí)讀取請求主躰。 - The trouble with this approach is that your message handler is called many times to notify you of events that are not relevant for your plug-in.
這種方法的弊耑是,消息処理程序?qū)⒈欢啻握{(diào)用來曏您通知事件,而這些事件可能與您的插件無關(guān)。 - The first step that your message handler should take is to examine the event passed in from the platform and return it immediately if it is not relevant.
因此,消息処理程序應(yīng)儅首先檢查由平臺(tái)傳入的事件,如果該事件與您的插件無關(guān),那麼立即返廻此事件。 返回 message handler