Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TransferStats.php

function TransferStats::getHandlerStat

Get a specific handler statistic from the handler by name.

Parameters

string $stat Handler specific transfer stat to retrieve.:

Return value

mixed|null

File

vendor/guzzlehttp/guzzle/src/TransferStats.php, line 129

Class

TransferStats
Represents data at the point after it was transferred either successfully or after a network error.

Namespace

GuzzleHttp

Code

public function getHandlerStat(string $stat) {
    return $this->handlerStats[$stat] ?? null;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal