• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • jQuery
    • Angular
    • React
    • Vue
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ServerPipe

A ServerPipe wraps a socket connection to a server.

Inheritance
System.Object
BasePipe
ServerPipe
Inherited Members
BasePipe.clientPipeName
BasePipe.serverPipeName
BasePipe._baseSocket
BasePipe.iUseCount
BasePipe._httpsStream
BasePipe._sPipeName
BasePipe.SendLock
BasePipe.InitializeHTTP2PipeAsync()
BasePipe.HasDataAvailable()
BasePipe.UseCustomTlsProvider()
BasePipe.SendAsync(Byte[])
BasePipe.GetRawSocket()
BasePipe.EndAsync(ErrorCode, String)
BasePipe.EndWithRST()
BasePipe.SendDataAsync(Byte[], Int32, Int32, UInt32, Boolean)
BasePipe.SendRequestHeadersAsync(HTTPRequestHeaders, UInt32, Boolean, String, Nullable<Boolean>)
BasePipe.SendResponseHeadersAsync(HTTPResponseHeaders, Nullable<UInt32>, Nullable<Boolean>, Boolean, Boolean)
BasePipe.Connected
BasePipe.bIsSecured
BasePipe.SecureProtocol
BasePipe.Port
BasePipe.LocalPort
BasePipe.Address
BasePipe.TransmitDelay
BasePipe.IsHTTP2
BasePipe.OnConnectionClosed
Namespace: Fiddler
Assembly: FiddlerCore.dll

Syntax

public class ServerPipe : BasePipe

Fields

_bIsConnectedToGateway

Returns TRUE if this ServerPipe is connected to a Gateway

Declaration
protected bool _bIsConnectedToGateway
Field Value
System.Boolean

_sPoolKey

The Pooling key used for reusing a previously pooled ServerPipe. See sPoolKey property.

Declaration
protected string _sPoolKey
Field Value
System.String

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
System.Collections.Generic.List<System.Collections.Generic.List<System.Security.Cryptography.X509Certificates.X509ChainStatus>>

ConnectSessionId

Gets the ID of the session containing the CONNECT client request for this connection

Declaration
public int ConnectSessionId { get; }
Property Value
System.Int32

ConnectSessionTimers

Gets the session timers instance for the CONNECT client request session for this connection

Declaration
public SessionMetrics ConnectSessionTimers { get; }
Property Value
SessionMetrics

InitiatorSessionId

Gets the first recorded session for this connection

Declaration
public Nullable<int> InitiatorSessionId { get; }
Property Value
System.Nullable<System.Int32>

isConnectedToGateway

Indicates if this pipe is connected to an upstream (non-SOCKS) Proxy.

Declaration
public bool isConnectedToGateway { get; }
Property Value
System.Boolean

isConnectedViaSOCKS

Indicates if this pipe is connected to a SOCKS gateway

Declaration
public bool isConnectedViaSOCKS { get; set; }
Property Value
System.Boolean

RemoteEndPoint

Returns the IPEndPoint to which this socket is connected, or null

Declaration
public IPEndPoint RemoteEndPoint { get; }
Property Value
System.Net.IPEndPoint

ReusePolicy

Policy for reuse of this pipe

Declaration
public PipeReusePolicy ReusePolicy { get; set; }
Property Value
PipeReusePolicy

ServerCertificate

If this is a "secure" HTTPS connection, returns the server's Certificate

Declaration
public X509Certificate2 ServerCertificate { get; }
Property Value
System.Security.Cryptography.X509Certificates.X509Certificate2

ServerCertificatePolicyErrors

Returns the status of the SslPolicyErrors during the handshake. Should be SslPolicyErrors.None for valid certificates

Declaration
public Nullable<SslPolicyErrors> ServerCertificatePolicyErrors { get; set; }
Property Value
System.Nullable<System.Net.Security.SslPolicyErrors>

sPoolKey

Gets and sets the pooling key for this server pipe.

Declaration
public string sPoolKey { get; }
Property Value
System.String

Examples

direct->{http|https}/{serverhostname}:{serverport} gw:{gatewayaddr:port}->* gw:{gatewayaddr:port}->{http|https}/{serverhostname}:{serverport} socks:{gatewayaddr:port}->{http|https}/{serverhostname}:{serverport}

Methods

DescribeConnectionSecurity()

Return a string describing the HTTPS connection security, if this socket is secured

Declaration
public string DescribeConnectionSecurity()
Returns
System.String

A string describing the HTTPS connection's security.

GetNextStreamId()

Calculates the next stream ID to use when sending a request through the server pipe

Declaration
public uint GetNextStreamId()
Returns
System.UInt32

The new stream id

GetSha256Thumbprint(X509Certificate2)

Computes the SHA256 thumbprint of a X509 certificate

Declaration
public static string GetSha256Thumbprint(X509Certificate2 cert)
Parameters
System.Security.Cryptography.X509Certificates.X509Certificate2 cert

Returns
System.String

SHA256 thumbprint

ToString()

Returns a semicolon-delimited string describing this ServerPipe

Declaration
public override string ToString()
Returns
System.String

A semicolon-delimited string

Getting Started
  • Try Now
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.