21 lines
436 B
Swift
21 lines
436 B
Swift
//
|
|
// String+Headers.swift
|
|
// APIService
|
|
//
|
|
// Created by Javier Cicchelli on 03/12/2022.
|
|
// Copyright © 2022 Röck+Cöde. All rights reserved.
|
|
//
|
|
|
|
extension String {
|
|
enum Header {
|
|
enum Keys {
|
|
static let authorization = "Authorization"
|
|
static let contentType = "Content-Type"
|
|
}
|
|
|
|
enum Values {
|
|
static let contentTypeJSON = "application/json"
|
|
}
|
|
}
|
|
}
|