HH\curl_destroy_pool

Description

function HH\curl_destroy_pool(
  string $poolName,
): bool

Destroys a cURL connection pool. curl_init_pooled() calls that are already waiting on a handle will still complete, but no new calls will receive a pooled handle.

Parameters

  • string $poolName - The name of the connection pool to destroy.

Return Values

  • bool - - Returns true on success, or false if the pool does not exist.