ClassServerPipe
A ServerPipe wraps a socket connection to a server.
Definition
Namespace:Fiddler
Assembly:FiddlerCore.dll
Syntax:
public class ServerPipe : BasePipe
Inheritance: objectBasePipeServerPipe
Inherited Members
Fields
_bIsConnectedToGateway
Returns TRUE if this ServerPipe is connected to a Gateway
Properties
CertificateChainErrors
Stores a list of errors for each Element of the Certificate Chain First element in the list is the Server certificate and each following element follows the certificate chain (the last element should be the CA certificate)
Declaration
public List<List<X509ChainStatus>> CertificateChainErrors { get; set; }
Property Value
ConnectSessionId
Gets the ID of the session containing the CONNECT client request for this connection
ConnectSessionTimers
Gets the session timers instance for the CONNECT client request session for this connection
Declaration
public SessionMetrics ConnectSessionTimers { get; }
Property Value
InitiatorSessionId
Gets the first recorded session for this connection
RemoteEndPoint
Returns the IPEndPoint to which this socket is connected, or null
ReusePolicy
Policy for reuse of this pipe
Declaration
public PipeReusePolicy ReusePolicy { get; set; }
Property Value
ServerCertificate
If this is a "secure" HTTPS connection, returns the server's Certificate
Declaration
public X509Certificate2 ServerCertificate { get; }
Property Value
ServerCertificatePolicyErrors
Returns the status of the SslPolicyErrors during the handshake. Should be SslPolicyErrors.None for valid certificates
Declaration
public SslPolicyErrors? ServerCertificatePolicyErrors { get; set; }
Property Value
isConnectedToGateway
Indicates if this pipe is connected to an upstream (non-SOCKS) Proxy.
isConnectedViaSOCKS
Indicates if this pipe is connected to a SOCKS gateway
Methods
DescribeConnectionSecurity()
Return a string describing the HTTPS connection security, if this socket is secured
Declaration
public string DescribeConnectionSecurity()
Returns
A string describing the HTTPS connection's security.
GetNextStreamId()
Calculates the next stream ID to use when sending a request through the server pipe
GetSha256Thumbprint(X509Certificate2)
Computes the SHA256 thumbprint of a X509 certificate
Declaration
public static string GetSha256Thumbprint(X509Certificate2 cert)
Parameters
cert
Returns
SHA256 thumbprint
ToString()
Returns a semicolon-delimited string describing this ServerPipe
Declaration
public override string ToString()
Returns
A semicolon-delimited string
Overrides