The Request type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
Request |
For internal use only. Of no interest to the user.
|
Methods
Name | Description | |
---|---|---|
AddKeepSubRequestContentType |
Adds a Content-Type fragment, so the content of sub-request responses that match
the specified Content-Type fragment will be kept.
| |
AddKeepSubRequestContentUrl |
Adds a URL, so the content of sub-request responses that match the specified URL
fragment will be kept.
| |
AddSubRequest(String) |
Adds a URL to the list of sub-requests that will be fetched from the web server
when this Request is sent.
| |
AddSubRequest(Url) |
Adds a Url to the list of sub-requests that will be fetched from the web server
when this Request is sent.
| |
AddSubRequest(Protocol, IpEndPoint, String) |
Adds a URL to the list of sub-requests that will be fetched from the web server
when this Request is sent.
| |
ClearHeaders |
Clears the list of HTTP headers for this Request.
| |
ContainsHeader |
Determines whether this Request contains a particular HTTP header.
| |
Dispose | Releases all resources used by the Request | |
End |
Ends this request - this method should be called when either SendTopLevel or SendSubRequests(Response)
has been called. It tells eggPlant Performance that no more HTTP requests will be made as part of this Request object.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetContentTypeFragments |
Gets a list of all the Content-Type fragments for which the content of sub-request responses will be kept.
| |
GetContentUrlFragments |
Gets a list of all the URL fragments for which the content of sub-request responses will be kept.
| |
getCPtr |
For internal use only. Of no interest to the user.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHeaderValue |
Gets the value of the specified HTTP request header.
| |
GetHttpStatusCategory |
Returns registered status category for the given http status.
| |
GetMessageBody |
Gets the body of the HTTP request that will be sent to the server.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IgnoreSubRequest(String) |
Specifies a URL that will be ignored when fetching sub-requests from the web server.
| |
IgnoreSubRequest(Url) |
Specifies a Url that will be ignored when fetching sub-requests from the web server.
| |
IgnoreSubRequest(Protocol, IpEndPoint, String) |
Specifies a URL that will be ignored when fetching sub-requests from the web server.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveHeader |
Removes an HTTP header from this Request.
| |
RemoveKeepSubRequestContentType |
Removes a Content-Type fragment, so the content of sub-request responses that match
the specified Content-Type fragment will no longer be kept.
| |
RemoveKeepSubRequestContentUrl |
Removes a URL, so the content of sub-request responses that match the specified URL
fragment will no longer be kept.
| |
Send |
Sends this request and any sub-requests to the web server, and waits for
all the responses to be served.
| |
SendSubRequests |
Sends the sub-requests for this request to the web server, and waits for the responses.
| |
SendTopLevel |
Sends this request to the web server, and waits for the response to be served, but doesn't send any sub-requests. This is unlike Send which also sends sub-requests. You can
send the sub-requests later by calling SendSubRequests(Response).
| |
SetHeader(String) |
Sets an HTTP header for this Request, using the contents of the specified string.
| |
SetHeader(String, String) |
Sets an HTTP header for this Request, as a name/value pair.
| |
SetHttpStatusCategory(HttpStatus, HttpStatusCategory) |
Registeres the provided http status code against predefined category.
| |
SetHttpStatusCategory(HttpStatusRange, HttpStatusCategory) |
Registeres the provided http status code range against predefined category.
| |
SetKeepAlive |
Sets the value of the "Connection" request header.
| |
SetMessageBody( Byte ) |
Sets the body of the HTTP request that will be sent to the server.
This method is normally used with a POST or PUT request.
| |
SetMessageBody(String) |
Sets the body of the HTTP request that will be sent to the server.
This method is normally used with a POST or PUT request.
| |
SetMessageBody(Form) |
Sets the body of the HTTP request that will be sent to the server, as name/value pairs
extracted from the specified Form object.
| |
SetMessageBody(String, Encoding) |
Sets the body of the HTTP request that will be sent to the server, specifying the character encoding to
use to encode the post data.
This method is normally used with a POST or PUT request.
| |
SetMessageBodyFromFile |
Sets the body of the HTTP request that will be sent to the server, by loading data
from a data file.
| |
SetOffsetEdit |
Sets an OffsetEditSequence object to be applied to the message
body of this Request object, immediately before the request is sent to
the web server.
| |
SetReferer |
Sets the value of the "Referer" HTTP header.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnsetReferer |
Removes the "Referer" HTTP header.
|
Properties
Name | Description | |
---|---|---|
CharactersAllowedInPostedForm |
Gets or sets the characters that will NOT be percent-encoded when a Form is sent to the web server using a POST request.
| |
ChunkSize |
Gets or sets the size in bytes of each chunk when sending data using Transfer-Encoding: chunked
| |
ContentType |
Gets or sets the value of the "Content-Type" HTTP header.
| |
FollowRedirects |
Gets or sets a value that indicates whether redirects will automatically be followed for this Request.
| |
HasReferer |
Gets a value that indicates whether the "Referer" HTTP header has been set for this Request.
| |
HeaderKeys |
Gets a list of names of all the HTTP request headers set in this Request.
| |
ID |
Gets the unique ID that has been assigned to this Request.
| |
IgnoredSubRequests |
Gets or sets the list of sub-requests that will be ignored when fetching sub-requests from the web server.
| |
IncludeQueryDataInLabels |
Gets or sets a value that indicates whether URLs with different query data should be considered different
from each other for analysis purposes.
| |
IsDynatraceIntegrationEnabled |
Gets or sets a value that indicates whether dynaTrace integration is enabled.
| |
KeepAllSubRequestContent |
Gets or sets a value that indicates whether the content of responses to sub-requests will be kept.
| |
KeepContent |
Gets or sets a value that indicates whether the content of responses will be kept.
| |
Method | ||
Reference |
Gets the reference id that was passed to the CreateRequest(HttpMethod, Url, Int32) method when this Request object was created.
| |
Referer |
Gets or sets the value of the "Referer" HTTP header.
| |
RetrieveSubRequests |
Gets or sets a value that indicates whether sub-requests will be retrieved for this Request.
| |
SubRequests |
Gets or sets the list of sub-requests that will be fetched from the web server
by this request. The sub-requests will be fetched when Send or SendSubRequests(Response) are called.
| |
SubRequestThreadCount |
Gets or sets the number of threads that will be used to fetch sub-requests from the web server.
| |
TimeEveryHttpRequest |
Gets or sets a value that indicates whether sub-requests will be timed as well as top-level HTTP requests.
| |
Url |
Gets or sets the Url that this Request is targeting.
| |
UserAgent |
Gets or sets the value of the "User-Agent" HTTP header.
| |
Version |
Gets or sets the HTTP version as a string.
|
See Also