ContentCodec
public protocol ContentCodec : Hashable
Undocumented
-
Undocumented
Declaration
Swift
associatedtype T
-
Undocumented
Declaration
Swift
var contentType: ContentTypeID { get }
-
Undocumented
Declaration
Swift
func encode(content: T, client: Client) throws -> EncodedContent
-
Undocumented
Declaration
Swift
func decode(content: EncodedContent, client: Client) throws -> T
-
Undocumented
Declaration
Swift
func fallback(content: T) throws -> String?
-
==(_:
Extension method_: ) Declaration
Swift
static func == (lhs: Self, rhs: Self) -> Bool
-
id
Extension methodUndocumented
Declaration
Swift
var id: String { get }
-
hash(into:
Extension method) Declaration
Swift
func hash(into hasher: inout Hasher)
-
description
Extension methodUndocumented
Declaration
Swift
var description: String { get }