| 1: | <?php |
| 2: | /* |
| 3: | * This code is licensed under AGPLv3 license or Afterlogic Software License |
| 4: | * if commercial version of the product was purchased. |
| 5: | * For full statements of the licenses see LICENSE-AFTERLOGIC and LICENSE-AGPL3 files. |
| 6: | */ |
| 7: | |
| 8: | namespace Aurora\Modules\RecaptchaWebclientPlugin\Enums; |
| 9: | |
| 10: | /** |
| 11: | * @license https://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0 |
| 12: | * @license https://afterlogic.com/products/common-licensing Afterlogic Software License |
| 13: | * @copyright Copyright (c) 2023, Afterlogic Corp. |
| 14: | */ |
| 15: | class RequestMethods |
| 16: | { |
| 17: | public const CurlPost = 'curlpost'; |
| 18: | public const Post = 'post'; |
| 19: | public const SocketPost = 'socketpost'; |
| 20: | |
| 21: | /** |
| 22: | * @var array |
| 23: | */ |
| 24: | protected $aConsts = [ |
| 25: | 'CurlPost' => self::CurlPost, |
| 26: | 'Post' => self::Post, |
| 27: | 'SocketPost' => self::SocketPost |
| 28: | ]; |
| 29: | } |
| 30: |