Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Versions.h
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#ifndef _Stroika_Foundation_IO_Network_HTTP_Versions_h_
5#define _Stroika_Foundation_IO_Network_HTTP_Versions_h_ 1
6
7#include "Stroika/Foundation/StroikaPreComp.h"
8
9#include <string>
10
11#include "Stroika/Foundation/Common/Common.h"
12
13/*
14 * TODO:
15 * @todo When we have a good C++ 'static string' class - maybe use that here.
16 * Maybe ONLY can do once we have compiler constexpr support?
17 */
18
20
21 // standard HTTP Versions one might want to access/retrieve
22 namespace Versions {
23
24 constexpr string_view kOnePointZero = "1.0"sv;
25 constexpr string_view kOnePointOne = "1.1"sv;
26 constexpr string_view kTwoPointZero = "2.0"sv;
27 }
28
29}
30
31/*
32 ********************************************************************************
33 ***************************** Implementation Details ***************************
34 ********************************************************************************
35 */
36#include "Versions.inl"
37
38#endif /*_Stroika_Foundation_IO_Network_HTTP_Versions_h_*/