Click or drag to resize
ClientChatterFailSession Method
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

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public void FailSession(
	int iError,
	string sErrorStatusText,
	string sErrorBody
)

Parameters

iError
Type: SystemInt32
Response code
sErrorStatusText
Type: SystemString
Response status text
sErrorBody
Type: SystemString
Body of the HTTP Response
See Also