Guzzle PHP 5.3 Documentation
Response Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 1.5 Event System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . synchronous and asynchronous requests using the same interface without requiring a dependency on a specific event loop. • Pluggable HTTP handlers allows Guzzle to integrate with any method you choose for sending sending HTTP requests over the wire (e.g., cURL, sockets, PHP’s stream wrapper, non-blocking event loops like React, etc.). • Guzzle makes it so that you no longer need to fool around with cURL options, stream0 码力 | 63 页 | 275.75 KB | 10 月前3Guzzle PHP 5.3 Documentation
specific event loop. Pluggable HTTP handlers allows Guzzle to integrate with any method you choose for sending HTTP requests over the wire (e.g., cURL, sockets, PHP’s stream wrapper, non-blocking event loops Requests With a Pool Request Options Event Subscribers Environment Variables Request and Response Messages Headers Body Requests Responses Event System Event Emitters Event Priorities Working With Request TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER0 码力 | 72 页 | 312.62 KB | 10 月前3Apache Unomi 2.x - Documentation
DECLARATIONS ARE NOW REQUIRED Scopes declarations are now required in Unomi 2. When submitting an event and specifying a scope, that scope must already be declared on the platform. Scopes can be easily object properties must be declared in a JSON schema for an event to be accepted. A new property, flattenedProperties has been introduced to the event object, this property has been added to store the properties properties. If there is dynamic properties that you want to send with your event, you should use the flattenedProperties field of the event. It’s also necessary to specify the format of the values which are0 码力 | 117 页 | 4.78 MB | 1 年前3Apache Unomi 1.x - Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.8. How to send a login event to Unomi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 8.6. Event. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 8.6.2. Event types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 158 页 | 3.65 MB | 1 年前3AWS LAMBDA Tutorial
triggered. Step 3: AWS Lambda which has the upload code and the event details on which the trigger has occurred. For example, event from Amazon S3, Amazon API Gateway, Dynamo dB, Amazon SNS, Amazon whenever the required event happens. It allows you to choose the memory and the timeout required for the code. AWS Lambda can also execute parallel requests as per the event triggers. Log Provision services where we can use AWS Lambda is given below: S3 Object and AWS Lambda Amazon S3 passes the event details to AWS Lambda when there is any file upload in S3. The details of the file upload or deletion0 码力 | 393 页 | 13.45 MB | 1 年前3Get off my thread: Techniques for moving k to background threads
thread for processing events: GUIs Client-Server applications Performing extensive processing on the event thread prevents other events from being handled.Why do we need to move work off the current thread current thread? We don’t just need to move the work, we need to prevent blocking on our event-handling threads. void event_handler(){ auto handle=spawn_background_task(); handle.wait(); // no benefit }Aside: Spawn a new thread for each event handlerHow do we move work off the current thread? Possible ways to move the work off the current thread: Spawn a new thread for each event handler Pass data to a dedicated0 码力 | 90 页 | 6.97 MB | 5 月前3Oracle VM VirtualBox UserManual.pdf
when you do not want to store the password in VM memory while the VM is suspended by a host suspend event. Note: You can encrypt data stored on hard disk images used by the VM. Oracle VirtualBox uses the micro-architectures: 8086, 80286, or 80386. --x86-hpet=on | off Enables or disables a High Precision Event Timer (HPET) that can replace a legacy system timer. This feature is disabled by default. Note HPET CoreDumpReplaceSystemDump sets up the VM to override the host's core dumping mechanism and in the event of any crash only the Oracle VirtualBox CoreDumper would produce the core file. Setting CoreDumpLive0 码力 | 1186 页 | 5.10 MB | 1 年前3NodeJS 中文文档 V0.2.3
没有函数处理这个事件,它将会输出调用堆栈,并随之退出应用程序。 Event: Event: Event: Event: 'newListener' 'newListener' 'newListener' 'newListener' function (event, listener) { } 该事件在添加新监听器时被触发。 Event: Event: Event: Event: 'error' 'error' 'error' 如果发生错误,'error'事件将会被触发。 这是一个特殊事件,如果没有相应的监听函数监听这个事件,node 将 会结束应用程序的执行并显示异常堆栈。 emitter.on(event, emitter.on(event, emitter.on(event, emitter.on(event, listener) listener) listener) listener) 向指定的事件监听器数组尾部添加一个新监听器。 server log('someone connected!'); }); emitter.removeListener(event, emitter.removeListener(event, emitter.removeListener(event, emitter.removeListener(event, listener) listener) listener) listener) 从指定监听器数组中删除一个监听器。0 码力 | 62 页 | 542.14 KB | 1 年前3electron中文教程
在线/离线事件探测 - 43 - 本文档使用 书栈(BookStack.CN) 构建 11. 12. ipcMain.on('online-status-changed', function(event, status) { 13. console.log(status); 14. }); online-status.html 1. 2. File 对象 - 65 - 本文档使用 书栈(BookStack.CN) 构建 例子webContents.send. event Object 向 page 发送输入事件. 查看 webContents.sendInputEvent关于 event 对象的相信介绍. 返回和这个 webview 相关的 WebContents. webview 可用下面的 DOM.sendInputEvent(event) .getWebContents() DOM 事件 Event: 'load-commit' Event: 'did-finish-load' Event: 'did-fail-load' Event: 'did-frame-finish-load' Event: 'did-start-loading' File 0 码力 | 203 页 | 2.72 MB | 1 年前3WeRoBot 1.4.0 微信公众号开发框架文档
TextMessage ImageMessage LinkMessage LocationMessage VoiceMessage VideoMessage UnknownMessage Event Event 公共属性 SubscribeEvent UnSubscribeEvent ScanEvent ScanCodePushEvent ScanCodeWaitMsgEvent PicSysphotoEvent config['PORT'] = 80 robot.run() 消息处理 WeRoBot 会解析微信服务器发来的消息, 并将消息转换成成 Message 或者是 Event 。 Message 表示用户发来的消息,如文本消息、图片消息; Event 则表 示用户触发的事件, 如关注事件、扫描二维码事件。 在消息解析、转换完成 后, WeRoBot 会讲消息转交给 Handler 进行处理,并将 Handler hello(message): return 'Hello World!' 就是一个简单的 Handler , @robot.handler 意味着 robot 会将所有接收到的消 息( 包括 Message 和 Event ) 都转交给这个 Handler 来处理。 当然, 你也可 以编写一些只能处理特定消息的 Handler # @robot.text 修饰的 Handler 只处理文本消息 @robot.text0 码力 | 82 页 | 88.39 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100