Class ExplicitProxyEndPoint
A proxy endpoint that the client is aware of. So client application know that it is communicating with a proxy server.
Inherited Members
Namespace: Titanium.Web.Proxy.Models
Assembly: Titanium.Web.Proxy.dll
Syntax
public class ExplicitProxyEndPoint : ProxyEndPoint
Constructors
| Edit this page View SourceExplicitProxyEndPoint(IPAddress, int, bool)
Constructor.
Declaration
public ExplicitProxyEndPoint(IPAddress ipAddress, int port, bool decryptSsl = true)
Parameters
| Type | Name | Description |
|---|---|---|
| IPAddress | ipAddress | Listening IP address. |
| int | port | Listening port. |
| bool | decryptSsl | Should we decrypt ssl? |
Events
| Edit this page View SourceBeforeTunnelConnectFailure
Fired when EstablishServerConnectionBeforeResponse is enabled and upstream connectivity verification fails (DNS, TCP refusal, or upstream-proxy CONNECT rejection). Replace Response to customize the HTTP error sent to the client before any TLS.
Declaration
public event AsyncEventHandler<TunnelConnectFailureEventArgs>? BeforeTunnelConnectFailure
Event Type
| Type | Description |
|---|---|
| AsyncEventHandler<TunnelConnectFailureEventArgs> |
BeforeTunnelConnectRequest
Intercept tunnel connect request. Valid only for explicit endpoints. Set the DecryptSsl property to false if this HTTP connect request shouldn't be decrypted and instead be relayed.
Declaration
public event AsyncEventHandler<TunnelConnectSessionEventArgs>? BeforeTunnelConnectRequest
Event Type
| Type | Description |
|---|---|
| AsyncEventHandler<TunnelConnectSessionEventArgs> |
BeforeTunnelConnectResponse
Intercept tunnel connect response. Valid only for explicit endpoints.
Declaration
public event AsyncEventHandler<TunnelConnectSessionEventArgs>? BeforeTunnelConnectResponse
Event Type
| Type | Description |
|---|---|
| AsyncEventHandler<TunnelConnectSessionEventArgs> |