CustomHeaderConfig
public class CustomHeaderConfig : @unchecked Sendable
Configuration class for CustomHeader. Allows adding custom headers to be injected into requests.
-
Adds a custom header to the configuration.
Declaration
Swift
public func header(name: String, value: String)Parameters
nameThe name of the header.
valueThe value of the header.
View on GitHub