Guzzle PHP 5.3 DocumentationcURL, 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 options, stream contexts, or sockets Event Emitters Event Priorities Working With Request Events Streams Creating Streams Metadata Stream Decorators RingPHP Handlers Using a handler Creating a handler Testing Guzzle Clients Mock Subscriber cURL? Can Guzzle send asynchronous requests? How can I add custom cURL options? How can I add custom stream context options? Why am I getting an SSL verification error? What is this Maximum function nesting0 码力 | 72 页 | 312.62 KB | 11 月前3
Guzzle PHP 6.5 Documentationidn_conversion json multipart on_headers on_stats progress proxy query read_timeout sink ssl_key stream synchronous verify timeout version Guzzle and PSR-7 Headers Accessing Headers Complex Headers Scheme Host Port Path Query string Responses Start-Line Body Streams Creating Streams Metadata Stream Decorators Handlers and Middleware Handlers Middleware HandlerStack Creating a Handler Testing cURL? Can Guzzle send asynchronous requests? How can I add custom cURL options? How can I add custom stream context options? Why am I getting an SSL verification error? What is this Maximum function nesting0 码力 | 65 页 | 311.42 KB | 11 月前3
Guzzle PHP v5 Documentationheaders http_errors json multipart on_headers on_stats progress proxy query read_timeout sink ssl_key stream synchronous verify timeout version Guzzle and PSR-7 Headers Accessing Headers Complex Headers Scheme Host Port Path Query string Responses Start-Line Body Streams Creating Streams Metadata Stream Decorators Handlers and Middleware Handlers Middleware HandlerStack Creating a Handler Testing cURL? Can Guzzle send asynchronous requests? How can I add custom cURL options? How can I add custom stream context options? Why am I getting an SSL verification error? What is this Maximum function nesting0 码力 | 62 页 | 309.78 KB | 11 月前3
Guzzle PHP 7.0 Documentationidn_conversion json multipart on_headers on_stats progress proxy query read_timeout sink ssl_key stream synchronous verify timeout version Guzzle and PSR-7 Headers Accessing Headers Complex Headers Scheme Host Port Path Query string Responses Start-Line Body Streams Creating Streams Metadata Stream Decorators Handlers and Middleware Handlers Middleware HandlerStack Creating a Handler Testing cURL? Can Guzzle send asynchronous requests? How can I add custom cURL options? How can I add custom stream context options? Why am I getting an SSL verification error? What is this Maximum function nesting0 码力 | 64 页 | 310.93 KB | 11 月前3
Falcon v3.0.0 Documentationonly to illustrate # what is possible. def process_request(self, req, resp): # req.stream corresponds to the WSGI wsgi.input environ variable, # and allows you to read bytes from req.content_length in (None, 0): # Nothing to do return body = req.stream.read() if not body: raise falcon.HTTPBadRequest(title='Empty request body', to read # it from the request stream.) if req.content_length == 0: # Nothing to do return body = await req.stream.read() if not body: raise0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 Documentationonly to illustrate # what is possible. def process_request(self, req, resp): # req.stream corresponds to the WSGI wsgi.input environ variable, # and allows you to read bytes from req.content_length in (None, 0): # Nothing to do return body = req.stream.read() if not body: raise falcon.HTTPBadRequest(title='Empty request body', to read # it from the request stream.) if req.content_length == 0: # Nothing to do return body = await req.stream.read() if not body: raise0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 Documentationonly to illustrate # what is possible. def process_request(self, req, resp): # req.stream corresponds to the WSGI wsgi.input environ variable, # and allows you to read bytes from req.content_length in (None, 0): # Nothing to do return body = req.stream.read() if not body: raise falcon.HTTPBadRequest(title='Empty request body', attempting to read # it from the request stream.) if req.content_length == 0: # Nothing to do return body = await req.stream.read() if not body: raise0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v3.0.0-b1 Documentationonly to illustrate # what is possible. def process_request(self, req, resp): # req.stream corresponds to the WSGI wsgi.input environ variable, # and allows you to read bytes from req.content_length in (None, 0): # Nothing to do return body = req.stream.read() if not body: raise falcon.HTTPBadRequest(title='Empty request body', to read # it from the request stream.) if req.content_length == 0: # Nothing to do return body = await req.stream.read() if not body: raise0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v3.1.1 Documentationonly to illustrate # what is possible. def process_request(self, req, resp): # req.stream corresponds to the WSGI wsgi.input environ variable, # and allows you to read bytes from req.content_length in (None, 0): # Nothing to do return body = req.stream.read() if not body: raise falcon.HTTPBadRequest( title='Empty request to read # it from the request stream.) if req.content_length == 0: # Nothing to do return body = await req.stream.read() if not body: raise0 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-rc1 Documentationonly to illustrate # what is possible. def process_request(self, req, resp): # req.stream corresponds to the WSGI wsgi.input environ variable, # and allows you to read bytes from req.content_length in (None, 0): # Nothing to do return body = req.stream.read() if not body: raise falcon.HTTPBadRequest( title='Empty request to read # it from the request stream.) if req.content_length == 0: # Nothing to do return body = await req.stream.read() if not body: raise0 码力 | 540 页 | 476.61 KB | 1 年前3
共 327 条
- 1
- 2
- 3
- 4
- 5
- 6
- 33













