AdditionalHeaderInterceptor
public class AdditionalHeaderInterceptor : Interceptor
Simple interceptor that adds additional or changes existing HTTP Headers with given values
-
Declaration
Swift
public init(additionalHeader: [String : String])
-
Declaration
Swift
public func intercept(chain: Chain) -> AnyPublisher<HTTPResponse, HTTPClientError>