Structures
The following structures are available globally.
-
A struct that represents a custom HTTP cookie.
CustomHTTPCookieprovides aCodableandSendablerepresentation of HTTP cookies, allowing cookies to be easily serialized, deserialized, and safely passed across concurrency boundaries. This type mirrors the properties ofHTTPCookiebut with full encoding and decoding support.Use this type when you need to persist cookies or transfer them in a structured format, such as saving to disk or sending across network boundaries.
See moreDeclaration
Swift
public struct CustomHTTPCookie : Codable, Sendable -
Struct for a Setup. A Setup represents the setup of a module in the application.
- property workflow: The workflow of the application.
- property context: The shared context of the application.
- property logger: The logger used in the application.
- property httpClient: The HTTP client used in the application.
- property config: The configuration for the module.
Declaration
Swift
public struct Setup<ModuleConfig> : Sendable where ModuleConfig : Sendable
View on GitHub
Structures Reference