Qore ServerSentEventClient Module Reference 1.0
Loading...
Searching...
No Matches
ServerSentEventConnection.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
4/* ServerSentEventConnection.qc Copyright 2025 Qore Technologies, s.r.o.
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23*/
24
26namespace ServerSentEventClient {
28
37class ServerSentEventConnection : public ConnectionProvider::AbstractConnectionWithInfo {
38
39public:
41 const ConnectionScheme = ...;
42
43
45
55 constructor(string name, string description, string url, hash<auto> attributes = {}, hash<auto> options = {})
56 ;
57
58
60
77 constructor(hash<auto> config, *hash<auto> attr) ;
78
79
81 string getType();
82
83
85
91 *hash<auto> getRuntimeOptions();
92
93
94protected:
95 hash<PingInfo> pingIntern(hash<PingInfo> rv);
96public:
97
98
100
110protected:
111 ServerSentEventClient getImpl(bool connect = True, *hash<auto> rtopts);
112public:
113
114
116
122 DataProvider::AbstractDataProvider getDataProvider(*hash<auto> constructor_options);
123
124
126
130 bool hasDataProvider();
131
132
134protected:
135 setChildCapabilities();
136public:
137
138
140protected:
141 hash<ConnectionSchemeInfo> getConnectionSchemeInfoImpl();
142public:
143
144};
145};
the ServerSentEventClient namespace contains all the definitions in the ServerSentEventClient module
Definition ServerSentEventClient.qc.dox.h:26