Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Basic.h
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4#ifndef _Stroika_Framework_WebService_Basic_h_
5#define _Stroika_Framework_WebService_Basic_h_ 1
6
7#include "Stroika/Frameworks/StroikaPreComp.h"
8
9#include "Stroika/Foundation/Containers/Sequence.h"
10#include "Stroika/Foundation/Containers/Set.h"
12
13/*
14 * \note Code-Status: <a href="Code-Status.md#Alpha">Alpha</a>
15 */
16
17namespace Stroika::Frameworks::WebService {
18
19 using namespace Stroika::Foundation;
20
23 using Containers::Set;
25
26 /**
27 */
28 struct WebServiceMethodDescription {
29 String fOperation;
30 optional<Set<String>> fAllowedMethods; // e.g. GET
31 optional<InternetMediaType> fResponseType;
32 optional<String> fOneLineDocs;
33 optional<Sequence<String>> fCurlExample;
34 optional<Sequence<String>> fDetailedDocs;
35 };
36
37}
38
39/*
40 ********************************************************************************
41 ***************************** Implementation Details ***************************
42 ********************************************************************************
43 */
44#include "Basic.inl"
45
46#endif /*_Stroika_Framework_WebService_Basic_h_*/
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition String.h:201
A generalization of a vector: a container whose elements are keyed by the natural numbers.
Definition Sequence.h:187
Set<T> is a container of T, where once an item is added, additionally adds () do nothing.
Definition Set.h:105