C# Class HitProxy.Session.ConnectProxy

Proxy implementation for HTTP CONNECT
Datei anzeigen Open project: hultqvist/HitProxy

Public Methods

Method 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

Method 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 method

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
return Stream

ProcessHttpConnect() public static method

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