Skip to content

swift-standards/swift-rfc-6265

Repository files navigation

swift-rfc-6265

Development Status

Swift namespace types for RFC 6265: HTTP State Management Mechanism

Overview

This package provides Swift namespace types for HTTP cookies as defined in RFC 6265. This package defines the RFC 6265 namespace enum and Cookie type for extension by parser implementations.

Features

  • ✅ RFC 6265 namespace enum
  • ✅ Cookie type for parser extensions
  • ✅ Swift 6 strict concurrency support
  • ✅ Full Sendable conformance

Installation

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/swift-standards/swift-rfc-6265.git", from: "0.1.0")
]

Usage

This package provides namespace types that are extended by parser implementations (e.g., swift-url-routing):

import RFC_6265

// Parser implementations extend RFC_6265.Cookie
extension RFC_6265.Cookie {
  public struct Parser<FieldParsers>: ParserPrinter { ... }
}

Related Packages

License

This library is released under the MIT license. See LICENSE for details.

About

Swift implementation of RFC 6265: HTTP State Management Mechanism.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages