|
| | Envelope (const Service &service) |
| |
| void | clear () |
| | Wipe the envelope contents. More...
|
| |
| bool | isEmpty () const |
| |
| bool | isFault () const |
| |
| String | serialize (bool pretty) |
| | Obtain content as XML string. More...
|
| |
| size_t | serialize (Print &p, bool pretty) |
| | Serialize XML content to a stream. More...
|
| |
| ContentType | contentType () const |
| | Get the current envelope content type. More...
|
| |
| String | actionName () const |
| | Get the action name. More...
|
| |
| Envelope & | createRequest (const String &actionName) |
| | Initialise the envelope as a request. More...
|
| |
| Envelope & | createResponse (const String &actionName) |
| | Initialise the envelope as a response. More...
|
| |
| void | convertToResponse () |
| | Set a flag that this should be converted to Response on next setArg() call. More...
|
| |
| void | prepareResponse () |
| | If Response is required but hasn't been prepared yet, do it now. This wipes out the incoming request. More...
|
| |
| Fault | createFault (ErrorCode error) |
| | Initialise the envelope as a fault. More...
|
| |
| String | soapAction () const |
| |
|
| Error | load (String &&content) |
| | Load a SOAP document. More...
|
| |
| Error | load (const FlashString &content) |
| |
|
| Fault | fault () |
| |
| const Fault | fault () const |
| |
|
| const char * | getArgValue (const String &name) const |
| |
| String | getArg (const String &name) const |
| |
| bool | getArg (const String &name, char &value, char defaultValue='?') |
| |
| bool | getArg (const String &name, String &value) |
| |
| template<typename T > |
| std::enable_if< std::is_unsigned< T >::value &&!std::is_floating_point< T >::value, bool >::type | getArg (const String &name, T &value, T defaultValue=T{}) |
| |
| template<typename T > |
| std::enable_if< std::is_signed< T >::value &&!std::is_floating_point< T >::value, bool >::type | getArg (const String &name, T &value, T defaultValue=T{}) |
| |
| bool | getArg (const String &name, bool &value, bool defaultValue=false) |
| |
| bool | getArg (const String &name, uint32_t &value, uint32_t defaultValue=0) |
| |
| bool | getArg (const String &name, int32_t &value, int32_t defaultValue=0) |
| |
| bool | getArg (const String &name, float &value, float defaultValue=0.0) |
| |
| bool | getArg (const String &name, double &value, double defaultValue=0.0) |
| |
| bool | getArg (const String &name, Base64 &value) |
| |
|
| bool | addArg (const String &name, const String &value) |
| |
| bool | addArg (const String &name, const char *value) |
| |
| bool | addArg (const String &name, bool value) |
| |
| bool | addArg (const String &name, const Base64 &value) |
| |
| template<typename T > |
| bool | addArg (const String &name, T value) |
| |
Class to manage a SOAP envelope for service request/response.