Click or drag to resize
BasePipe Class
Abstract base class for the ClientPipe and ServerPipe classes. A Pipe represents a connection to either the client or the server, optionally encrypted using SSL/TLS.
Inheritance Hierarchy

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

The BasePipe type exposes the following members.

Constructors
  NameDescription
Public methodBasePipe
Create a new pipe, an enhanced wrapper around a socket
Top
Methods
  NameDescription
Public methodEnd
Shutdown and close the socket inside this pipe. Eats exceptions.
Public methodEndWithRST
Abruptly closes the socket by sending a RST packet
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasDataAvailable
Poll the underlying socket for readable data (or closure/errors)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSend
Sends a byte array through this pipe
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_baseSocket
The base socket wrapped in this pipe
Protected field_httpsStream
The HTTPS stream wrapped around the base socket
Protected field_sPipeName
The display name of this Pipe
Protected fieldiUseCount
The number of times that this Pipe has been used
Top
Properties
  NameDescription
Public propertyAddress
Returns the remote address to which this Pipe is connected, or 0.0.0.0 on error.
Public propertybIsSecured
Returns a bool indicating if the socket in this Pipe is CURRENTLY connected and wrapped in a SecureStream
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.
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.
Public propertyPort
Return the Remote Port to which this socket is attached.
Public propertySecureProtocol
Returns the SSL/TLS protocol securing this connection
Public propertyTransmitDelay
Gets or sets the transmission delay on this Pipe, used for performance simulation purposes.
Top
See Also