Update AudioStreaming/Streaming/Parsers/HTTPHeaderParser.swift

This commit is contained in:
Dimitris C
2020-12-01 11:08:08 +00:00
committed by GitHub
parent abd8c91b46
commit 28fa4463e0
@@ -28,7 +28,7 @@ protocol HTTPHeaderParsing: Parser {
/// Returns the value for the given field of the headers in the given `HTTPURLResponse`
///
/// - Parameters:
/// - field: The header field to be search
/// - field: The header field to be searched
/// - response: The `HTTPURLResponse` for the header
/// - Returns: A `String` if the field exists in the headers otherwise `nil`
func value(forHTTPHeaderField field: String, in response: HTTPURLResponse) -> String?