Пример #1
0
 def __init__(self):
     """
     Constructor.
     """
     Transport.__init__(self)
     from suds.transport.options import Options
     self.options = Options()
     del Options
     self._contextFactory = None
Пример #2
0
 def __init__(self):
     """
     Constructor.
     """
     Transport.__init__(self)
     from suds.transport.options import Options
     self.options = Options()
     del Options
     self._contextFactory = None
Пример #3
0
 def __init__(self):
     """
     Constructor.
     """
     Transport.__init__(self)
     from suds.transport.options import Options
     self.options = Options()
     del Options
     self._httpsPolicy = None
Пример #4
0
 def __init__(self, **kwargs):
     """
     @param kwargs: Keyword arguments.
         - B{proxy} - An http proxy to be specified on requests.
              The proxy is defined as {protocol:proxy,}
                 - type: I{dict}
                 - default: {}
         - B{timeout} - Set the url open timeout (seconds).
                 - type: I{float}
                 - default: 90
     """
     Transport.__init__(self)
     Unskin(self.options).update(kwargs)
     self.cookiejar = CookieJar()
     self.proxy = {}
     self.urlopener = None
Пример #5
0
Файл: http.py Проект: plq/suds
 def __init__(self, **kwargs):
     """
     @param kwargs: Keyword arguments.
         - B{proxy} - An http proxy to be specified on requests.
              The proxy is defined as {protocol:proxy,}
                 - type: I{dict}
                 - default: {}
         - B{timeout} - Set the url open timeout (seconds).
                 - type: I{float}
                 - default: 90
     """
     Transport.__init__(self)
     Unskin(self.options).update(kwargs)
     self.cookiejar = CookieJar()
     self.proxy = {}
     self.urlopener = None
 def __init__(self, session=None, **kwargs):
     Transport.__init__(self)
     Unskin(self.options).update(kwargs)
     self.session = session or Session()
     # Suds expects support for local files URIs.
     self.session.mount('file://', FileAdapter())
Пример #7
0
 def __init__(self, service):
     Transport.__init__(self)
     self._service = service
Пример #8
0
 def __init__(self, service):
     Transport.__init__(self)
     self._service = service
Пример #9
0
 def __init__(self, session=None, **kwargs):
     Transport.__init__(self)
     Unskin(self.options).update(kwargs)
     self.session = session or Session()
     # Suds expects support for local files URIs.
     self.session.mount('file://', FileAdapter())
Пример #10
0
 def __init__(self):
     Transport.__init__(self)