Click or drag to resize
ServerPipe Class
A ServerPipe wraps a socket connection to a server.
Inheritance Hierarchy

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public class ServerPipe : BasePipe

The ServerPipe type exposes the following members.

Methods
  NameDescription
Public methodDescribeConnectionSecurity
Return a string describing the HTTPS connection security, if this socket is secured
Public methodEnd
Shutdown and close the socket inside this pipe. Eats exceptions.
(Inherited from BasePipe.)
Public methodEndWithRST
Abruptly closes the socket by sending a RST packet
(Inherited from BasePipe.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRawSocket
Return the raw socket this pipe wraps. Avoid calling this method if at all possible.
(Inherited from BasePipe.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasDataAvailable
Poll the underlying socket for readable data (or closure/errors)
(Inherited from BasePipe.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSend
Sends a byte array through this pipe
(Inherited from BasePipe.)
Public methodToString
Returns a semicolon-delimited string describing this ServerPipe
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Protected field_baseSocket
The base socket wrapped in this pipe
(Inherited from BasePipe.)
Protected field_bIsConnectedToGateway
Returns TRUE if this ServerPipe is connected to a Gateway
Protected field_httpsStream
The HTTPS stream wrapped around the base socket
(Inherited from BasePipe.)
Protected field_sPipeName
The display name of this Pipe
(Inherited from BasePipe.)
Protected field_sPoolKey
The Pooling key used for reusing a previously pooled ServerPipe. See sPoolKey property.
Protected fieldiUseCount
The number of times that this Pipe has been used
(Inherited from BasePipe.)
Top
Properties
  NameDescription
Public propertyAddress
Returns the remote address to which this Pipe is connected, or 0.0.0.0 on error.
(Inherited from BasePipe.)
Public propertybIsSecured
Returns a bool indicating if the socket in this Pipe is CURRENTLY connected and wrapped in a SecureStream
(Inherited from BasePipe.)
Public propertyConnected
Return the Connected status of the base socket. WARNING: This doesn't work as you might expect; you can see Connected == false when a READ timed out but a WRITE will succeed.
(Inherited from BasePipe.)
Public propertyisConnectedToGateway
Indicates if this pipe is connected to an upstream (non-SOCKS) Proxy.
Public propertyisConnectedViaSOCKS
Indicates if this pipe is connected to a SOCKS gateway
Public propertyLocalPort
Return the Local Port to which the base socket is attached. Note: May return a misleading port if the ISA Firewall Client is in use.
(Inherited from BasePipe.)
Public propertyPort
Return the Remote Port to which this socket is attached.
(Inherited from BasePipe.)
Public propertyRemoteEndPoint
Returns the IPEndPoint to which this socket is connected, or null
Public propertyReusePolicy
Policy for reuse of this pipe
Public propertySecureProtocol
Returns the SSL/TLS protocol securing this connection
(Inherited from BasePipe.)
Public propertyServerCertificate
Public propertyCode examplesPoolKey
Gets and sets the pooling key for this server pipe.
Public propertyTransmitDelay
Gets or sets the transmission delay on this Pipe, used for performance simulation purposes.
(Inherited from BasePipe.)
Top
See Also