Loading...
Searching...
No Matches
ServerSentEventClientWaitForMessageDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
/* ServerSentEventClientWaitForMessageDataProvider.qc Copyright 2025 Qore Technologies, s.r.o.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
namespace ServerSentEventClient {
class ServerSentEventClientWaitForMessageDataProvider : public AbstractDataProvider {
public:
const ProviderInfo = ...;
const RequestType = ServerSentEventClientWaitForMessageRequestDataType;
const ResponseType = AbstractDataProviderTypeMap."any";
protected:
ServerSentEventClientDataProviderBase base;
public:
constructor(ServerSentEventClientDataProviderBase base);
destructor();
string getName();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*AbstractDataProviderType getResponseTypeImpl();
public:
hash<DataProviderInfo> getStaticInfoImpl();
};
};
ServerSentEventClient::ServerSentEventClientDataProviderBase
Event-based data provider for ServerSentEvent client-side events.
Definition ServerSentEventClientDataProviderBase.qc.dox.h:30
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider
ServerSentEvent client wait for message from server API data provider.
Definition ServerSentEventClientWaitForMessageDataProvider.qc.dox.h:28
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::RequestType
const RequestType
Request type.
Definition ServerSentEventClientWaitForMessageDataProvider.qc.dox.h:36
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::ResponseType
const ResponseType
Response type.
Definition ServerSentEventClientWaitForMessageDataProvider.qc.dox.h:39
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::getName
string getName()
Returns the data provider name.
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition ServerSentEventClientWaitForMessageDataProvider.qc.dox.h:32
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::destructor
destructor()
Deletes the object.
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::constructor
constructor(ServerSentEventClientDataProviderBase base)
Creates the object.
ServerSentEventClient::ServerSentEventClientWaitForMessageDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
ServerSentEventClient
the ServerSentEventClient namespace contains all the definitions in the ServerSentEventClient module
Definition ServerSentEventClient.qc.dox.h:26
ServerSentEventClient::ServerSentEventClientWaitForMessageRequestDataType
const ServerSentEventClientWaitForMessageRequestDataType
Data type for wait for message requests.
Definition ServerSentEventClientWaitForMessageRequestDataType.qc.dox.h:41