Class BeforeHttpAuthenticateEventArgs
Fired on a transparent reverse endpoint before handling a cleartext (non-TLS) client session, including prior-knowledge HTTP/2 (h2c). Mirrors the policy knobs on BeforeSslAuthenticateEventArgs without a TLS handshake.
Inherited Members
Namespace: Titanium.Web.Proxy.EventArguments
Assembly: Titanium.Web.Proxy.dll
Syntax
public class BeforeHttpAuthenticateEventArgs : ProxyEventArgsBase
Properties
| Edit this page View SourceAllowHttpProtocolTranslation
Whether the proxy may bridge a mismatch between the client's HTTP version and the origin version implied by UpstreamHttpProtocol.
Declaration
public bool AllowHttpProtocolTranslation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ForwardHostName
Hostname used as the TCP forward target for this cleartext connection.
Declaration
public string ForwardHostName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ForwardPort
Port used as the TCP forward target for this cleartext connection.
Declaration
public int ForwardPort { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UpstreamHttpProtocol
Controls which HTTP version the proxy uses on its connection to the origin for this session. See UpstreamHttpProtocol.
Declaration
public UpstreamHttpProtocol UpstreamHttpProtocol { get; set; }
Property Value
| Type | Description |
|---|---|
| UpstreamHttpProtocol |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is not a defined member. |
Methods
| Edit this page View SourceTerminateSession()
Terminate the session by closing client/server connections.
Declaration
public void TerminateSession()