Overview

Namespaces

  • Docta
    • MercadoLibre
      • Exception
      • OAuth2
        • Client
          • Test
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
      • Test
      • Tests
    • Psr7
    • Test
      • Handler
    • Tests
      • CookieJar
      • Event
      • Exception
      • Handler
      • Promise
      • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Test
          • Grant
          • Provider
            • Exception
            • Fake
          • Token
          • Tool
        • Token
        • Tool
  • None
  • Psr
    • Http
      • Message

Classes

  • CurlFactory
  • CurlHandler
  • CurlMultiHandler
  • MockHandler
  • Proxy
  • StreamHandler

Interfaces

  • CurlFactoryInterface

Functions

  • curl_setopt_array
  • Overview
  • Namespace
  • Class
  • Download

Class CurlMultiHandler

Returns an asynchronous response using curl_multi_* functions.

When using the CurlMultiHandler, custom curl options can be specified as an associative array of curl option constants mapping to values in the curl key of the provided request options.

Namespace: GuzzleHttp\Handler
Located at src/Handler/CurlMultiHandler.php
Methods summary
public
# __construct( array $options = [] )

This handler accepts the following options:

This handler accepts the following options:

  • handle_factory: An optional factory used to create curl handles
  • select_timeout: Optional timeout (in seconds) to block before timing out while selecting curl handles. Defaults to 1 second.

Parameters

$options
public
# __get( $name )
public
# __destruct( )
public
# __invoke( Psr\Http\Message\RequestInterface $request, array $options )
public
# tick( )

Ticks the curl event loop.

Ticks the curl event loop.

public
# execute( )

Runs until all outstanding connections have completed.

Runs until all outstanding connections have completed.

Magic properties summary
public resource $_mh

Internal use only. Lazy loaded multi-handle.

MercadoLibre PHP SDK API documentation generated by ApiGen