Extended Structure
Array
extension Array
Topics
Initializers
init(decodingBase32:)Decode a string in canonical Base32-encoded representation.init(decodingBase64:)Decode a string in canonical Base32-encoded representation.init(decodingBcryptBase64:)Decode a string in Bcrypt-flavored Base64-encoded representation.
Instance Properties
var base64: Stringvar dotPath: Stringvar mediaTypes: [HTTPMediaType]Returns allMediaTypes in this array ofMediaTypePreference.
Instance Methods
func comparePreference(for: HTTPMediaType, to: HTTPMediaType) -> ComparisonResultReturnsComparisonResultcomparing the suppliedMediaTypes against these preferences.func makeResponder(chainingTo: any Responder) -> any ResponderWraps aResponderin an array ofMiddlewarecreating a newResponder.
Type Methods
static func random(count: Int) -> [Element]static func random<T>(count: Int, using: inout T) -> [Element]
Default Implementations
Relationships
Conforms To
AsyncRequestDecodableAsyncResponseEncodableContentRequestDecodableResponseEncodableSwift.CopyableSwift.DecodableSwift.EncodableSwift.EscapableSwift.SendableSwift.SendableMetatype