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
name
The name of the header.
value
The value of the header.