olp-cpp-sdk  1.22.0
NetworkConstants.h
1 /*
2  * Copyright (C) 2019-2021 HERE Europe B.V.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * SPDX-License-Identifier: Apache-2.0
17  * License-Filename: LICENSE
18  */
19 
20 #pragma once
21 
22 #include <cstdint>
23 #include <limits>
24 
25 namespace olp {
26 namespace http {
27 
31 static constexpr auto kAuthorizationHeader = "Authorization";
32 static constexpr auto kContentTypeHeader = "Content-Type";
33 static constexpr auto kUserAgentHeader = "User-Agent";
34 
38 static constexpr auto kBearer = "Bearer";
39 static constexpr auto kOlpSdkUserAgent =
40  "OLP-CPP-SDK/" OLP_SDK_VERSION_STRING " (" OLP_SDK_PLATFORM_NAME ")";
41 
42 } // namespace http
43 } // namespace olp
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24