Helper class for constructing "tunnel" endpoint, if the endpoint is not a simple URL. Can be used for DDTunnel::reconnectToEndpoint()
More...
#include <dumbdisplay.h>
|
| DDTunnelEndpoint (const String &endPoint) |
|
void | resetEndpoint (const String &endPoint) |
| reset the endpoint
|
|
void | resetSoundAttachment (const String &soundName) |
|
void | resetHeaders () |
| reset headers
|
|
void | resetParams () |
| reset params (to the endpoint query string)
|
|
void | addParam (const String ¶m) |
| add param (to the endpoint query string)
|
|
void | addNamedParam (const String ¶mName, const String ¶mValue) |
| add named param (to the endpoint query string)
|
|
void | addHeader (const String &headerKey, const String &headerValue) |
| add header to the request
|
|
|
String | endPoint |
|
String | headers |
|
String | attachmentId |
|
String | params |
|
Helper class for constructing "tunnel" endpoint, if the endpoint is not a simple URL. Can be used for DDTunnel::reconnectToEndpoint()
◆ resetSoundAttachment()
void DDTunnelEndpoint::resetSoundAttachment |
( |
const String & |
soundName | ) |
|
|
inline |
reset the sound (saved or cached) to be attached with the request
- Parameters
-
soundName | name of the sound to be attached (saved or cached), empty means no sound attachment |