Class
SslProxy
Represents a HTTP/1.1 proxy server that forwards traffic over SSL/HTTPS into an insecure HTTP gateway.
public sealed class SslProxy : IDisposableInheritance #
Implements #
Inherited Members #
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| SslProxy(int, X509Certificate, IPEndPoint) | Initializes a new instance of the SslProxy class. |
Properties #
| Name | Description |
|---|---|
| AllowedProtocols | Gets or sets the SSL/HTTPS protocols allowed for connections. |
| CheckCertificateRevocation | Gets or sets a value indicating whether to check for certificate revocation. |
| ClientCertificateRequired | Gets or sets a value indicating whether client certificates are required for authentication. |
| GatewayEndpoint | Gets the proxy endpoint. |
| GatewayHostname | Gets or sets an fixed proxy host header value for incoming requests. |
| GatewayTimeout | Gets or sets the maximum time that the gateway should take to respond to a connection or message from the proxy. |
| ProxyAuthorization | Gets or sets the Proxy-Authorization header value for creating an trusted gateway between the application and the proxy. |
| ServerCertificate | Gets the SSL certificate used by the proxy server. |
| UseGatewayHttps | Gets or sets whether the SslProxy should use HTTPS for the gateway connection or plain HTTP. |
Methods #
| Name | Description |
|---|---|
| Dispose() | |
| Start() | Starts the SslProxy and start routing traffic to the set remote endpoint. |