27 lines
668 B
Swift
27 lines
668 B
Swift
//
|
|
// Copyright Amazon.com Inc. or its affiliates.
|
|
// All Rights Reserved.
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
import Foundation
|
|
|
|
// TODO: remove this https://github.com/aws-amplify/amplify-ios/issues/75
|
|
struct URLRequestConstants {
|
|
static let appSyncServiceName = "appsync"
|
|
static let apiGatewayServiceName = "execute-api"
|
|
|
|
struct Header {
|
|
static let xAmzDate = "X-Amz-Date"
|
|
static let contentType = "Content-Type"
|
|
static let userAgent = "User-Agent"
|
|
static let xApiKey = "x-api-key"
|
|
static let host = "Host"
|
|
}
|
|
|
|
struct ContentType {
|
|
static let applicationJson = "application/json"
|
|
}
|
|
}
|