







Initializes a new instance of the ReverseProxyModule class
Namespace:
HttpServer.HttpModules
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public ReverseProxyModule( string source, string destination ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ source As String, _ destination As String _ ) |
Visual C++ |
---|
public: ReverseProxyModule( String^ source, String^ destination ) |
Parameters
- source
- Type: System..::.String
Base url requested from browser
- destination
- Type: System..::.String
Base url on private web server
Examples
// this will return contents from http://192.168.1.128/view/jonas when client requests http://www.gauffin.com/user/view/jonas
_server.Add(new ReverseProxyModule("http://www.gauffin.com/user/", "http://192.168.1.128/");