WWWURLEncodeTranslator Class
(ExternalControlIO::WWWURLEncodeTranslator)WWWURLEncodeTranslator converts channel values to/from application/x-www-form-urlencoded encoding. More...
Header: | #include <WWWURLEncodeTranslator> |
Inherits: | ServerIO::Translator::TranslatorBase<STREAMTYPE> |
Public Functions
void | Translate(STREAMTYPE &stream, const ServerIO::Translator::TranslatorChannelGroup &channelTree) const override |
Reimplemented Public Functions
virtual std::string | MimeType() const override |
- 4 public functions inherited from ServerIO::Translator::TranslatorBase
- 26 public functions inherited from CDP::StudioAPI::CDPNode
- 22 public functions inherited from CDP::StudioAPI::ICDPNode
Reimplemented Protected Functions
virtual std::string | GetNodeTypeName() const override |
- 1 protected function inherited from ServerIO::Translator::TranslatorBase
- 1 protected function inherited from CDP::StudioAPI::CDPNode
Additional Inherited Members
- 1 static public member inherited from ServerIO::Translator::TranslatorBase
- 1 protected function inherited from ServerIO::Translator::TranslatorBase
- 1 protected function inherited from CDP::StudioAPI::CDPNode
Detailed Description
WWWURLEncodeTranslator converts channel values to/from application/x-www-form-urlencoded encoding.
WWWURLEncodeTranslator is useful to compose HTTP POST requests based on channel values and also to parse encoded streams back to channels. application/x-www-form-urlencoded encoded stream looks like this:
Channel1Name=Value1&Channel2Name=Value2...
Member Function Documentation
[override virtual protected]
std::string WWWURLEncodeTranslator::GetNodeTypeName() const
[override virtual]
std::string WWWURLEncodeTranslator::MimeType() const
void WWWURLEncodeTranslator::Translate(STREAMTYPE &stream, const ServerIO::Translator::TranslatorChannelGroup &channelTree) const
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.