Guzzle PHP 5.3 Documentationrequests 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, stream contexts the // chain rethrows the exception. echo 'Error: ' . $error->getMessage(); } ); Please see the React/Promises project documentation for more information on how promise resolution and rejection forwarding Guzzle with any HTTP transport. For example, you could quite easily bridge Guzzle and React to use Guzzle in React’s event loop. 1.7.1 Using a handler You can change the handler used by a client using0 码力 | 63 页 | 275.75 KB | 11 月前3
Guzzle PHP 5.3 Documentationrequests over the wire (e.g., cURL, sockets, PHP’s stream wrapper, non-blocking event loops like React [http://reactphp.org/], etc.). Guzzle makes it so that you no longer need to fool around with cURL rethrows the exception. echo 'Error: ' . $error->getMessage(); } ); Please see the React/Promises project documentation [https://github.com/reactphp/promise] for more information on how promise Guzzle with any HTTP transport. For example, you could quite easily bridge Guzzle and React to use Guzzle in React’s event loop. Using a handler You can change the handler used by a client using the0 码力 | 72 页 | 312.62 KB | 11 月前3
Laravel 5.6 中文文档框架有更加全面的认识。 使用 React 如果你更喜欢使用 React 来构建 JavaScript 应用,在 Laravel 中从 Vue 脚手架切换到 React 脚手架也很简单,在所有新安装的 Laravel 应用中, 使用带 react 选项的 preset 命令即可: php artisan preset react 这个命令将会移除 Vue 脚手架代码并将其替换为 React 脚手架代码,同时包含一个示例组件。 js"> React Mix 可以自动为安装 Babel 插件以便支持 React,我们可以将 mix.js() 调用替换为 mix.react() 来实现: mix.react('resources/assets/js/app.jsx', 'public/js'); 在这个场景背后,Mix 会下载并引入合适的 Babel 插件 babel-preset-react。 本文档由0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档scaffolding... php artisan ui vue php artisan ui react // Generate login / registration scaffolding... php artisan ui vue --auth php artisan ui react --auth CSS Laravel Mix 提供了干净、优雅的 API 用于编译 SASS Vue 文档,从而对 Vue 框架有更加全面的认识。 使用 React 如果你更喜欢使用 React 来构建 JavaScript 应用,在 Laravel 中 从 Vue 脚手架切换到 React 脚手架也很简单: composer require laravel/ui --dev php artisan ui react // Generate login / registration registration scaffolding... php artisan ui react --auth 这个命令将会移除 Vue 脚手架代码并将其替换为 React 脚手架代 码,同时包含一个示例组件。 添加预设命令 预设命令是「macroable」的,允许你在运行时添加额外方法 到 UiCommand 类,例如,下面这段代码会添加一个 nextjs 方法 到 UiCommand 类。通常,你需要在服务提供者中声明预设宏:0 码力 | 1442 页 | 14.66 MB | 1 年前3
The Laravel Handbook
month” kind of thing. Laravel has been around since 2011, well before modern frontend tools like React and Vue.js existed. It stood the test of time. And it evolved over the years to a serious and complete0 码力 | 111 页 | 14.25 MB | 1 年前3
Guzzle PHP v5 Documentationthat Guzzle can be used with cURL, PHP’s stream wrapper, sockets, and non-blocking libraries like React. You just need to configure an HTTP handler to use a different method of sending requests. Note:0 码力 | 49 页 | 231.08 KB | 11 月前3
Guzzle PHP 6.5 Documentationthat Guzzle can be used with cURL, PHP's stream wrapper, sockets, and non-blocking libraries like React [http://reactphp.org/]. You just need to configure an HTTP handler to use a different method of sending0 码力 | 65 页 | 311.42 KB | 11 月前3
Guzzle PHP 7.0 Documentationthat Guzzle can be used with cURL, PHP's stream wrapper, sockets, and non-blocking libraries like React [https://reactphp.org/]. You just need to configure an HTTP handler to use a different method of sending0 码力 | 64 页 | 310.93 KB | 11 月前3
Guzzle PHP 7.0 Documentationthat Guzzle can be used with cURL, PHP’s stream wrapper, sockets, and non-blocking libraries like React. You just need to configure an HTTP handler to use a different method of sending requests. Note:0 码力 | 50 页 | 235.39 KB | 11 月前3
Guzzle PHP v5 Documentationthat Guzzle can be used with cURL, PHP's stream wrapper, sockets, and non-blocking libraries like React [http://reactphp.org/]. You just need to configure an HTTP handler to use a different method of sending0 码力 | 62 页 | 309.78 KB | 11 月前3
共 19 条
- 1
- 2













