Package brisa :: Package upnp :: Module soap :: Class HTTPTransport
[hide private]
[frames] | no frames]

Class HTTPTransport

source code

object --+
         |
        HTTPTransport

Wrapper class for a HTTP SOAP call. It contain the call() method that can perform calls and return the response payload.

Instance Methods [hide private]
string
call(self, addr, data, namespace, soapaction=None, encoding=None)
Builds and performs an HTTP request.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

call(self, addr, data, namespace, soapaction=None, encoding=None)

source code 

Builds and performs an HTTP request. Returns the response payload.

Parameters:
  • addr (string) - address to receive the request in the form schema://hostname:port
  • data (string) - data to be sent
  • soapaction (string) - soap action to be called
  • encoding (string) - encoding for the message
Returns: string
response payload