Session Properties |
The Session type exposes the following members.
Name | Description | |
---|---|---|
bHasResponse |
Returns TRUE if this session's State > ReadingResponse, and oResponse, oResponse.headers, and responseBodyBytes are all non-null. Note that
bHasResponse returns FALSE if the session is currently reading, even if a body was copied using the COMETPeek feature
| |
bHasWebSocketMessages |
Checks whether this is a WebSocket, and if so, whether it has logged any parsed messages.
| |
BitFlags |
Bitflags of commonly-queried session attributes
| |
bypassGateway |
Set to true in OnBeforeRequest if this request should bypass the gateway
| |
clientIP |
Returns the Address used by the client to communicate to Fiddler.
| |
clientPort |
Returns the port used by the client to communicate to Fiddler.
| |
fullUrl |
Retrieves the complete URI, including protocol/scheme, in the form http://www.host.com/filepath?query.
Or sets the complete URI, adjusting the UriScheme and/or Host.
| |
host |
DNS Name of the host server targeted by this request. May include IPv6 literal brackets. NB: a port# may be included.
| |
hostname |
DNS Name of the host server (no port) targeted by this request. Will include IPv6-literal brackets for IPv6-literal addresses
| |
id |
Returns the sequential number of this session. Note, by default numbering is restarted at zero when the session list is cleared.
| |
isFTP |
When true, this session was conducted using the FTP protocol.
| |
isHTTPS |
When true, this session was conducted using the HTTPS protocol.
| |
isTunnel |
Returns True if this is a HTTP CONNECT tunnel.
| |
ItemString |
Simple indexer into the Session's oFlags object; returns null if flag is not present.
| |
ItemString, String |
Indexer property into SESSION flags, REQUEST headers, and RESPONSE headers. e.g. oSession["Request", "Host"] returns string value for the Request host header. If null, returns String.Empty
| |
LocalProcess |
Get the Process Info of the application which made this request, or String.Empty if it is not known
| |
LocalProcessID |
Get the process ID of the application which made this request, or 0 if it cannot be determined.
| |
PathAndQuery |
Returns the path and query part of the URL. (For a CONNECT request, returns the host:port to be connected.)
| |
port |
Returns the server port to which this request is targeted.
| |
RequestBody |
Gets or Sets the HTTP Request body bytes.
Setter adjusts Content-Length header, and removes Transfer-Encoding and Content-Encoding headers.
Setter DOES NOT CLONE the passed array.
Setter will throw if the Request object does not exist for some reason.
Use utilSetRequestBody(sStr) to ensure proper character encoding if you need to use a string.
| |
RequestHeaders | ||
RequestMethod | ||
ResponseBody |
Gets or Sets the HTTP Response body bytes.
Setter adjusts Content-Length header, and removes Transfer-Encoding and Content-Encoding headers.
Setter DOES NOT CLONE the passed array.
Setter will throw if the Response object has not yet been created. (See utilCreateResponseAndBypassServer)
Use utilSetResponseBody(sStr) to ensure proper character encoding if you need to use a string.
| |
responseCode |
Gets or Sets the HTTP Status code of the server's response
| |
ResponseHeaders | ||
state |
State of session. Note Side-Effects: If setting to .Aborted, calls FinishUISession. If setting to/from a Tamper state, calls RefreshMyInspectors
| |
SuggestedFilename |
Gets a path-less filename suitable for saving the Response entity. Uses Content-Disposition if available.
| |
Tag |
A common use for the Tag property is to store data that is closely associated with the Session.
It is NOT marshalled during drag/drop and is NOT serialized to a SAZ file.
| |
TunnelEgressByteCount |
If this session is a Tunnel, returns number of bytes sent from the Client to the Server
| |
TunnelIngressByteCount |
If this session is a Tunnel, returns number of bytes sent from the Server to the Client
| |
TunnelIsOpen |
If this session is a Tunnel, and the tunnel's IsOpen property is TRUE, returns TRUE. Otherwise returns FALSE.
| |
url |
Gets or sets the URL (without protocol) being requested from the server, in the form www.host.com/filepath?query.
|