Auth
5 months ago
Cookie
5 months ago
Exception
5 months ago
Proxy
5 months ago
Response
5 months ago
Transport
5 months ago
Utility
5 months ago
Auth.php
5 months ago
Autoload.php
5 months ago
Capability.php
5 months ago
Cookie.php
5 months ago
Exception.php
5 months ago
HookManager.php
5 months ago
Hooks.php
5 months ago
IdnaEncoder.php
5 months ago
Ipv6.php
5 months ago
Iri.php
5 months ago
Port.php
5 months ago
Proxy.php
5 months ago
Requests.php
5 months ago
Response.php
5 months ago
Session.php
5 months ago
Ssl.php
5 months ago
Transport.php
5 months ago
Capability.php
37 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Capability interface declaring the known capabilities. |
| 4 | * |
| 5 | * @package Requests\Utilities |
| 6 | */ |
| 7 | |
| 8 | namespace AmeliaVendor\WpOrg\Requests; |
| 9 | |
| 10 | /** |
| 11 | * Capability interface declaring the known capabilities. |
| 12 | * |
| 13 | * This is used as the authoritative source for which capabilities can be queried. |
| 14 | * |
| 15 | * @package Requests\Utilities |
| 16 | */ |
| 17 | interface Capability { |
| 18 | |
| 19 | /** |
| 20 | * Support for SSL. |
| 21 | * |
| 22 | * @var string |
| 23 | */ |
| 24 | const SSL = 'ssl'; |
| 25 | |
| 26 | /** |
| 27 | * Collection of all capabilities supported in Requests. |
| 28 | * |
| 29 | * Note: this does not automatically mean that the capability will be supported for your chosen transport! |
| 30 | * |
| 31 | * @var string[] |
| 32 | */ |
| 33 | const ALL = [ |
| 34 | self::SSL, |
| 35 | ]; |
| 36 | } |
| 37 |