-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34da9b7
commit 1ad96ed
Showing
7 changed files
with
186 additions
and
4 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php declare(strict_types = 1); | ||
|
||
/** | ||
* This file is part of FireHub Web Application Framework package | ||
* | ||
* @author Danijel Galić <danijel.galic@outlook.com> | ||
* @copyright 2024 FireHub Web Application Framework | ||
* @license <https://opensource.org/licenses/OSL-3.0> OSL Open Source License version 3 | ||
* | ||
* @package Core\Support | ||
* | ||
* @version GIT: $Id$ Blob checksum. | ||
*/ | ||
|
||
namespace FireHub\Core\Support\Enums\HTTP; | ||
|
||
use FireHub\Core\Base\ { | ||
InitBackedEnum, Trait\ConcreteBackedEnum | ||
}; | ||
|
||
/** | ||
* ### HTTP content disposition | ||
* @since 1.0.0 | ||
*/ | ||
enum ContentDisposition:string implements InitBackedEnum { | ||
|
||
/** | ||
* ### FireHub initial concrete-backed enum trait | ||
* @since 1.0.0 | ||
*/ | ||
use ConcreteBackedEnum; | ||
|
||
/** | ||
* ### AES-GCM encryption with a 128-bit content encryption key | ||
* @since 1.0.0 | ||
*/ | ||
case INLINE = 'inline'; | ||
|
||
/** | ||
* ### AES-GCM encryption with a 128-bit content encryption key | ||
* @since 1.0.0 | ||
*/ | ||
case ATTACHMENT = 'attachment'; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php declare(strict_types = 1); | ||
|
||
/** | ||
* This file is part of FireHub Web Application Framework package | ||
* | ||
* @author Danijel Galić <danijel.galic@outlook.com> | ||
* @copyright 2024 FireHub Web Application Framework | ||
* @license <https://opensource.org/licenses/OSL-3.0> OSL Open Source License version 3 | ||
* | ||
* @package Core\Support | ||
* | ||
* @version GIT: $Id$ Blob checksum. | ||
*/ | ||
|
||
namespace FireHub\Core\Support\Enums\HTTP; | ||
|
||
use FireHub\Core\Base\ { | ||
InitBackedEnum, Trait\ConcreteBackedEnum | ||
}; | ||
|
||
/** | ||
* ### HTTP site data | ||
* @since 1.0.0 | ||
*/ | ||
enum SiteData:string implements InitBackedEnum { | ||
|
||
/** | ||
* ### FireHub initial concrete-backed enum trait | ||
* @since 1.0.0 | ||
*/ | ||
use ConcreteBackedEnum; | ||
|
||
/** | ||
* ### Cookies for the origin of the response URL | ||
* @since 1.0.0 | ||
*/ | ||
case COOKIES = 'cookies'; | ||
|
||
/** | ||
* ### DOM storage for the origin of the response URL | ||
* | ||
* localStorage, sessionStorage, IndexedDB, Service worker registrations, and so on. | ||
* @since 1.0.0 | ||
*/ | ||
case STORAGE = 'storage'; | ||
|
||
} |