HH\curl_destroy_pool

Destroys a cURL connection pool

Description

function curl_destroy_pool(
  string $poolName,
): bool

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.