Overview

Namespaces

  • Baguette
    • Mastodon
      • Config
      • Entity
      • Grant
      • Service
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
  • Psr
    • Http
      • Message
  • Teto
    • Object

Classes

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

Interfaces

  • CurlFactoryInterface
  • Overview
  • Namespace
  • Class

Class CurlHandler

HTTP handler that uses cURL easy handles as a transport layer.

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

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

Accepts an associative array of options:

Accepts an associative array of options:

  • factory: Optional curl factory used to create cURL handles.

Parameters

$options
Array of options to use with the handler
public
# __invoke( Psr\Http\Message\RequestInterface $request, array $options )
ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK API documentation generated by ApiGen