message handler
常见例句
- Listing 1 shows a message handler that reads the request body while the request is being sent.
清单 1 显示了一个消息处理程序,用于在发送请求时读取请求主体。 - 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.
这种方法的弊端是,消息处理程序将被多次调用来向您通知事件,而这些事件可能与您的插件无关。 - 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.
因此,消息处理程序应当首先检查由平台传入的事件,如果该事件与您的插件无关,那么立即返回此事件。 返回 message handler