ClassServerChatter
The ServerChatter object is responsible for transmitting the Request to the destination server and retrieving its Response.
Definition
Namespace:Fiddler
Assembly:FiddlerCore.dll
Syntax:
public class ServerChatter : ChatterBase
Inheritance: objectChatterBaseServerChatter
Inherited Members
Fields
m_lngLeakedOffset
Indicates how much of _responseData buffer has already been streamed to the client
m_session
The session to which this ServerChatter belongs
pipeServer
The pipeServer represents Fiddler's connection to the server.
Properties
MIMEType
Get the MIME type (sans Character set or other attributes) from the HTTP Content-Type response header, or String.Empty if missing.
bServerSocketReused
Was this request serviced from a reused server connection?
bWasForwarded
Was this request forwarded to a gateway?
data
The stream that holds the server response.
Declaration
protected override MemoryStream data { get; }
Property Value
Overrides
headers
The HTTP headers of the server's response
Declaration
public HTTPResponseHeaders headers { get; set; }
Property Value
iTTFB
DEPRECATED: You should use the Timers object on the Session object instead. The number of milliseconds between the start of sending the request to the server to the first byte of the server's response
iTTLB
DEPRECATED: You should use the Timers object on the Session object instead. The number of milliseconds between the start of sending the request to the server to the last byte of the server's response.
isRequest
This is a server connection -> return false for isRequest
Declaration
protected override bool isRequest { get; }
Property Value
Overrides
this[string]
Simple indexer into the Response Headers object
trailers
The HTTP trailers of the server's response
Declaration
public HTTPResponseHeaders trailers { get; set; }
Property Value
Methods
ClearHeaders()
Clear headers so they can be read again
Declaration
protected void ClearHeaders()
LeakResponseBytesAsync()
Leak the current bytes of the response to client. We wait for the full header set before starting to stream for a variety of impossible-to-change reasons.
ParseResponseForHeaders(string[])
Parse the HTTP Response for Headers.
_EnableStreamingIfAppropriate()
When the headers first arrive, update bBufferResponse based on their contents.
Declaration
protected void _EnableStreamingIfAppropriate()
_deleteInformationalMessage()
Deletes a single HTTP/1xx header block from the Response stream and adjusts all header-reading state to start over from the top of the stream. Note: If 'fiddler.network.leakhttp1xx' is TRUE, then the 1xx message will have been leaked before calling this method.
Declaration
protected virtual void _deleteInformationalMessage()