ThinkJS 2.0 中文文档
��� �������� ThinkJS �� Hook � Middleware �������������������� ThinkJS ������������������������������� ���� WebSocket � ������� ������������� Hook � Middleware ����� HTTP ���� [2015-10-12 14:10:03] |-- common | | |-- bootstrap | | | |-- generate_icon.js | | | `-- middleware.js | | |-- config | | | |-- config.js | | | |-- env | | global.formatDate = obj => { ... } JavaScript ����� // src/common/bootstrap/middleware.js think.middleware('replace_image', http => { ... }); JavaScript src/common/config 'use strict';0 码力 | 238 页 | 1.87 MB | 1 年前3Scrapy 0.9 Documentation
Architecture overview Understand the Scrapy architecture. Downloader Middleware Customize how pages get requested and downloaded. Spider Middleware Customize the input and output of your spiders. Extensions adapt_response(response) A method that receives the response as soon as it arrives from the spider middleware and before start parsing it. It can be used used for modifying the response body before parsing Yes. Support for HTTP proxies is provided (since Scrapy 0.8) through the HTTP Proxy downloader middleware. See HttpProxyMiddleware. Scrapy crashes with: ImportError: No module named win32api You need0 码力 | 204 页 | 447.68 KB | 1 年前3Scrapy 0.22 Documentation
Architecture overview Understand the Scrapy architecture. Downloader Middleware Customize how pages get requested and downloaded. Spider Middleware Customize the input and output of your spiders. Extensions adapt_response(response) A method that receives the response as soon as it arrives from the spider middleware, before the spider starts parsing it. It can be used to modify the response body before parsing Yes. Support for HTTP proxies is provided (since Scrapy 0.8) through the HTTP Proxy downloader middleware. See HttpProxyMiddleware. How can I scrape an item with attributes in different pages? See Passing0 码力 | 303 页 | 566.66 KB | 1 年前3Guzzle PHP v5 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 1.5 Handlers and Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 1.5.1 Handlers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 1.5.2 Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 1.5.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 1.6.2 History Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 1.6.3 Test Web0 码力 | 49 页 | 231.08 KB | 10 月前3Guzzle PHP 6.5 Documentation
agnostic code; i.e., no hard dependency on cURL, PHP streams, sockets, or non-blocking event loops. Middleware system allows you to augment and compose client behavior. $client = new GuzzleHttp\Client(); $res Metadata Stream Decorators Handlers and Middleware Handlers Middleware HandlerStack Creating a Handler Testing Guzzle Clients Mock Handler History Middleware Test Web Server Using the test server stack middleware that are used by each request, and a base URI that allows you to send requests with relative URIs. You can find out more about client middleware in the Handlers and Middleware page of0 码力 | 65 页 | 311.42 KB | 10 月前3Guzzle PHP 7.0 Documentation
agnostic code; i.e., no hard dependency on cURL, PHP streams, sockets, or non-blocking event loops. Middleware system allows you to augment and compose client behavior. $client = new GuzzleHttp\Client(); $res Metadata Stream Decorators Handlers and Middleware Handlers Middleware HandlerStack Creating a Handler Testing Guzzle Clients Mock Handler History Middleware Test Web Server Using the test server stack middleware that are used by each request, and a base URI that allows you to send requests with relative URIs. You can find out more about client middleware in the Handlers and Middleware page of0 码力 | 64 页 | 310.93 KB | 10 月前3Guzzle PHP 7.0 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 1.5 Handlers and Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 1.5.1 Handlers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 1.5.2 Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 1.5.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 1.6.2 History Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 1.6.3 Test Web0 码力 | 50 页 | 235.39 KB | 10 月前3Guzzle PHP v5 Documentation
agnostic code; i.e., no hard dependency on cURL, PHP streams, sockets, or non-blocking event loops. Middleware system allows you to augment and compose client behavior. $client = new GuzzleHttp\Client(); $res Metadata Stream Decorators Handlers and Middleware Handlers Middleware HandlerStack Creating a Handler Testing Guzzle Clients Mock Handler History Middleware Test Web Server Using the test server stack middleware that are used by each request, and a base URI that allows you to send requests with relative URIs. You can find out more about client middleware in the Handlers and Middleware page of0 码力 | 62 页 | 309.78 KB | 10 月前3Scrapy 0.22 Documentation
. . . . . . . . . . 117 6.2 Downloader Middleware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 6.3 Spider Middleware . . . . . . . . . . . . . . . . . . . . adapt_response(response) A method that receives the response as soon as it arrives from the spider middleware, before the spider starts parsing it. It can be used to modify the response body before parsing Yes. Support for HTTP proxies is provided (since Scrapy 0.8) through the HTTP Proxy downloader middleware. See HttpProxyMiddleware. 5.1.6 How can I scrape an item with attributes in different pages?0 码力 | 199 页 | 926.97 KB | 1 年前3Falcon v3.0.1 Documentation
Easy access to headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception Media Type Constants Multipart Forms Body Part Type Parsing Options Parsing Errors Redirection Middleware Short-Circuiting Exception Handling CORS Usage CORSMiddleware Hooks Before Hooks After Hooks Easy access to headers and bodies through request and response objects DRY request processing via middleware components and hooks Strict adherence to RFCs Idiomatic HTTP error responses Straightforward exception0 码力 | 1058 页 | 741.59 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100