C# Class HitProxy.Session.ConnectProxy

Proxy implementation for HTTP CONNECT
Afficher le fichier Open project: hultqvist/HitProxy

Méthodes publiques

Méthode Description
InterceptConnect ( Request request, Stream clientStream, CachedConnection remote ) : Stream

Intercepts a HTTP CONNECT so we can filter the encrypted requests

ProcessHttpConnect ( Request request, Stream clientStream, CachedConnection remote ) : void

Read and execute request.

Private Methods

Méthode Description
LocalCertValidation ( object sender, string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, String acceptableIssuers ) : X509Certificate
RemoteCertificateValidation ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

Method Details

InterceptConnect() public static méthode

Intercepts a HTTP CONNECT so we can filter the encrypted requests
public static InterceptConnect ( Request request, Stream clientStream, CachedConnection remote ) : Stream
request Request
clientStream Stream
remote HitProxy.Connection.CachedConnection
Résultat Stream

ProcessHttpConnect() public static méthode

Read and execute request.
public static ProcessHttpConnect ( Request request, Stream clientStream, CachedConnection remote ) : void
request Request /// A ///
clientStream Stream
remote HitProxy.Connection.CachedConnection
Résultat void