| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
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 |
| 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 |