HTTPURLResponse
public extension HTTPURLResponse
Provide access utility for HTTPURLResponse
Version
1.0.0Date
20/11/22-
Get the value of a http header field
Declaration
Swift
subscript(type: HeaderFieldType) -> String? { get } -
Get the content type of the response
Declaration
Swift
var contentType: ContentType? { get }
HTTPURLResponse Extension Reference