Class ClientChatter
The ClientChatter object, exposed as the oRequest object on the Session object, represents a single web request.
Inheritance
Inherited Members
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public class ClientChatter
Fields
pipeClient
The ClientPipe object which is connected to the client, or null.
Declaration
public ClientPipe pipeClient
Field Value
ClientPipe
|
Properties
bClientSocketReused
Was this request received from a reused client connection? Looks at SessionFlags.ClientPipeReused flag on owning Session.
Declaration
public bool bClientSocketReused { get; }
Property Value
System.Boolean
|
BufferRequest
Controls whether the request body is streamed to the server as it is read from the client.
Declaration
[CodeDescription("Controls whether the request body is streamed to the server as it is read from the client.")]
public bool BufferRequest { get; set; }
Property Value
System.Boolean
|
headers
HTTP Headers sent in the client request, or null.
Declaration
public HTTPRequestHeaders headers { get; set; }
Property Value
HTTPRequestHeaders
|
host
Note: This returns the request's HOST header, which may include a trailing port #. If the Host is an IPv6 literal, it will be enclosed in brackets '[' and ']'
Declaration
public string host { get; }
Property Value
System.String
|
InboundPort
Returns the port on which Fiddler read the request (typically 8888)
Declaration
[CodeDescription("Returns the port on which Fiddler read the request (typically 8888). Only available while the request is alive.")]
public int InboundPort { get; }
Property Value
System.Int32
|
Item[String]
Simple indexer into the Request Headers object
Declaration
public string this[string sHeader] { get; set; }
Parameters
System.String
sHeader
|
Property Value
System.String
|
Methods
FailSession(Int32, String, String)
Send a HTTP/XXX Error Message to the Client, calling FiddlerApplication.BeforeReturningError and DoReturningError in FiddlerScript. Note: This method does not poison the Server pipe, so if poisoning is desired, it's the caller's responsibility to do that. Note: Because this method uses Connection: close on the returned response, it has the effect of poisoning the client pipe
Declaration
public void FailSession(int iError, string sErrorStatusText, string sErrorBody)
Parameters
System.Int32
iError
Response code |
System.String
sErrorStatusText
Response status text |
System.String
sErrorBody
Body of the HTTP Response |