WebSocket client wait for message from server API data provider.
More...
#include <WebSocketClient.qm.dox.h>
Inherits AbstractDataProvider.
|
| constructor (WebSocketClientDataProviderBase base) |
| Creates the object.
|
|
| destructor () |
| Deletes the object.
|
|
string | getName () |
| Returns the data provider name.
|
|
hash< DataProviderInfo > | getStaticInfoImpl () |
| Returns data provider static info.
|
|
|
auto | doRequestImpl (auto req, *hash< auto > request_options) |
| Makes a request and returns the response. More...
|
|
*AbstractDataProviderType | getRequestTypeImpl () |
| Returns the description of a successful request message, if any. More...
|
|
*AbstractDataProviderType | getResponseTypeImpl () |
| Returns the description of a response message, if this object represents a response message. More...
|
|
WebSocket client wait for message from server API data provider.
◆ doRequestImpl()
auto WebSocketClient::WebSocketClientWaitForMessageDataProvider::doRequestImpl |
( |
auto |
req, |
|
|
*hash< auto > |
request_options |
|
) |
| |
|
private |
Makes a request and returns the response.
- Parameters
-
req | the request to serialize and make according to the request type |
request_options | the request options; will be processed by validateRequestOptions() |
- Returns
- the response to the request
◆ getRequestTypeImpl()
*AbstractDataProviderType WebSocketClient::WebSocketClientWaitForMessageDataProvider::getRequestTypeImpl |
( |
| ) |
|
|
private |
Returns the description of a successful request message, if any.
- Returns
- the request type for this provider
◆ getResponseTypeImpl()
*AbstractDataProviderType WebSocketClient::WebSocketClientWaitForMessageDataProvider::getResponseTypeImpl |
( |
| ) |
|
|
private |
Returns the description of a response message, if this object represents a response message.
- Returns
- the response type for this response message