mUPnP for C++
uSOAP::SOAPRequest Class Reference

#include <SOAPRequest.h>

Inheritance diagram for uSOAP::SOAPRequest:
mUPnP::ControlRequest mUPnP::NotifyRequest mUPnP::ActionRequest mUPnP::QueryRequest

Public Member Functions

 SOAPRequest ()
 
 SOAPRequest (uHTTP::HTTPRequest *httpReq)
 
 ~SOAPRequest ()
 
void setSOAPAction (const std::string &action)
 
const char * getSOAPAction (std::string &buf)
 
bool isSOAPAction (const std::string &value)
 
const char * getHeader (std::string &buf)
 
const char * getEncording (std::string &buf)
 
bool isEncording (const std::string &encType)
 
SOAPResponsepostMessage (const std::string &host, int port, SOAPResponse *soapRes)
 
SOAPResponsepostMessage (const std::string &host, int port)
 
void setEnvelopeNode (mupnp_shared_ptr< uXML::Node > node)
 
mupnp_shared_ptr< uXML::NodegetEnvelopeNode ()
 
mupnp_shared_ptr< uXML::NodegetBodyNode ()
 
void setContent (uXML::Node *node)
 

Private Member Functions

mupnp_shared_ptr< uXML::NodeparseMessage (const std::string &content, size_t contentLen)
 
void setRootNode (mupnp_shared_ptr< uXML::Node > node)
 
mupnp_shared_ptr< uXML::NodegetRootNode ()
 

Private Attributes

mupnp_shared_ptr< uXML::NoderootNode
 
SOAPResponse soapRes
 

Constructor & Destructor Documentation

◆ SOAPRequest() [1/2]

uSOAP::SOAPRequest::SOAPRequest ( )

◆ SOAPRequest() [2/2]

uSOAP::SOAPRequest::SOAPRequest ( uHTTP::HTTPRequest * httpReq)

◆ ~SOAPRequest()

uSOAP::SOAPRequest::~SOAPRequest ( )

Member Function Documentation

◆ getBodyNode()

mupnp_shared_ptr< uXML::Node > uSOAP::SOAPRequest::getBodyNode ( )
inline

◆ getEncording()

const char * uSOAP::SOAPRequest::getEncording ( std::string & buf)
inline

◆ getEnvelopeNode()

mupnp_shared_ptr< uXML::Node > uSOAP::SOAPRequest::getEnvelopeNode ( )
inline

◆ getHeader()

const char * uSOAP::SOAPRequest::getHeader ( std::string & buf)
inline

◆ getRootNode()

mupnp_shared_ptr< uXML::Node > uSOAP::SOAPRequest::getRootNode ( )
private

◆ getSOAPAction()

const char * uSOAP::SOAPRequest::getSOAPAction ( std::string & buf)
inline

◆ isEncording()

bool uSOAP::SOAPRequest::isEncording ( const std::string & encType)
inline

◆ isSOAPAction()

bool uSOAP::SOAPRequest::isSOAPAction ( const std::string & value)

◆ parseMessage()

mupnp_shared_ptr< uXML::Node > uSOAP::SOAPRequest::parseMessage ( const std::string & content,
size_t contentLen )
private

◆ postMessage() [1/2]

SOAPResponse * uSOAP::SOAPRequest::postMessage ( const std::string & host,
int port )
inline

◆ postMessage() [2/2]

SOAPResponse * uSOAP::SOAPRequest::postMessage ( const std::string & host,
int port,
SOAPResponse * soapRes )

◆ setContent()

void uSOAP::SOAPRequest::setContent ( uXML::Node * node)

◆ setEnvelopeNode()

void uSOAP::SOAPRequest::setEnvelopeNode ( mupnp_shared_ptr< uXML::Node > node)
inline

◆ setRootNode()

void uSOAP::SOAPRequest::setRootNode ( mupnp_shared_ptr< uXML::Node > node)
inlineprivate

◆ setSOAPAction()

void uSOAP::SOAPRequest::setSOAPAction ( const std::string & action)
inline

Field Documentation

◆ rootNode

mupnp_shared_ptr<uXML::Node> uSOAP::SOAPRequest::rootNode
private

◆ soapRes

SOAPResponse uSOAP::SOAPRequest::soapRes
private

The documentation for this class was generated from the following file: