REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 1.14 KB
Close
/home/certprox/test.certproxywizard.com/wp-includes/ai-client/adapters/class-wp-ai-client-discovery-strategy.php
Text
Base64
<?php /** * WP AI Client: WP_AI_Client_Discovery_Strategy class * * @package WordPress * @subpackage AI * @since 7.0.0 */ use WordPress\AiClient\Providers\Http\Abstracts\AbstractClientDiscoveryStrategy; use WordPress\AiClientDependencies\Nyholm\Psr7\Factory\Psr17Factory; use WordPress\AiClientDependencies\Psr\Http\Client\ClientInterface; /** * Discovery strategy for WordPress HTTP client. * * Registers the WordPress HTTP client adapter with the HTTPlug discovery system * so the AI Client SDK can find and use it automatically. * * @since 7.0.0 * @internal Intended only to register WordPress's HTTP client so that the PHP AI Client SDK can use it. * @access private */ class WP_AI_Client_Discovery_Strategy extends AbstractClientDiscoveryStrategy { /** * Creates an instance of the WordPress HTTP client. * * @since 7.0.0 * * @param Psr17Factory $psr17_factory The PSR-17 factory for creating HTTP messages. * @return ClientInterface The PSR-18 HTTP client. */ protected static function createClient( Psr17Factory $psr17_factory ): ClientInterface { return new WP_AI_Client_HTTP_Client( $psr17_factory, $psr17_factory ); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
class-wp-ai-client-cache.php
5.92 KB
lrw-r--r--
2026-05-21 23:21:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-wp-ai-client-discovery-strategy.php
1.14 KB
lrw-r--r--
2026-05-21 23:21:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-wp-ai-client-event-dispatcher.php
2.50 KB
lrw-r--r--
2026-05-21 23:21:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-wp-ai-client-http-client.php
6.55 KB
lrw-r--r--
2026-05-21 23:21:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
error_log
9.80 KB
lrw-r--r--
2026-06-30 23:47:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).