Table of contents Index

class HttpProxyNonTransparent - Nontransparent HTTP proxy based on HttpProxy

Declared in module Http

Inheritance hierarchy:

Http.HttpProxyNonTransparent
  Http.HttpProxy
    Proxy.Proxy

Synopsis

class HttpProxyNonTransparent(HttpProxy):
    def Http.HttpProxyNonTransparent.config(self) # Config event handler

    # Inherited from Zorp.ZorpProxy
    def Zorp.ZorpProxy.__init__(self, name, session_id, client_stream) # Initialize a low level proxy instance.

    # Inherited from Proxy.Proxy
    def Proxy.Proxy.__init__(self, name, session) # Initializes a Proxy instance.
    def Proxy.Proxy.addPolicy(self, klass) # Adds a policy to the proxy.
    def Proxy.Proxy.connectServer(self, host, port) # Callback method called when a connection established

    # Inherited from Http.HttpProxy
    def Http.HttpProxy.__init__(self, session) # Initializes a HttpProxy instance.
    def Http.HttpProxy.config(self) # Default config event handler.
    def Http.HttpProxy.connectMethod(self)

Description

This class encapsulates a non-transparent HTTP proxy using the features provided by HttpProxy.



Http.HttpProxyNonTransparent.config(self)

Config event handler

self
this instance

Sets self.transparent_mode to FALSE to indicate non-transparent mode.


Copyright © 2000 BalaBit IT Ltd.
Written by: Balázs Scheidler