[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/src/Providers/Http/Abstracts/ -> AbstractClientDiscoveryStrategy.php (summary)

Abstract discovery strategy for HTTP client implementations. Provides a base for registering custom HTTP client implementations with HTTPlug's discovery mechanism. Subclasses must implement the createClient() method to provide their specific PSR-18 HTTP client instance using the provided Psr17Factory.

File Size: 72 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  init()
  getCandidates()

Functions
Functions that are not part of a class:

init()   X-Ref
Initializes and registers the discovery strategy.

return: void

getCandidates($type)   X-Ref
{@inheritDoc}

return: array<array<string, mixed>> The discovery candidates.
param: string $type The type of discovery.



Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref