Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bowbahdoe/microhttp-setcookie
Utility for producing a Set-Cookie header
https://github.com/bowbahdoe/microhttp-setcookie
Last synced: 7 days ago
JSON representation
Utility for producing a Set-Cookie header
- Host: GitHub
- URL: https://github.com/bowbahdoe/microhttp-setcookie
- Owner: bowbahdoe
- License: apache-2.0
- Created: 2023-11-20T01:35:23.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-22T22:04:12.000Z (7 months ago)
- Last Synced: 2024-04-22T23:25:32.345Z (7 months ago)
- Language: Java
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microhttp-setcookie
Utility for producing a Set-Cookie header
## Dependency Information
### Maven
```xml
dev.mccue
microhttp-setcookie
2024.04.20```
### Gradle
```groovy
dependencies {
implementation('dev.mccue:microhttp-setcookie:2024.04.20')
}
```## Usage
```java
Header header = SetCookieHeader.of("name", "value");
Header otherHeader = SetCookieHeader.builder("name2", "value2")
.sameSite(SameSite.STRICT)
.secure(true)
.build();
```