Class
EndpointCache
Handles the complexities of HTTP caching.
actor EndpointCache<T> where T : Decodable, T : Sendable
Topics
Initializers
init(uri: URI, client: any Client)The designated initializer.
Instance Methods
func get() async throws -> TDownloads the resourcefunc get(using: any Client) async throws -> TDownloads the resource.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype_Concurrency.Actor