The Request type exposes the following members.
Back to Top
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 | ||
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.
|
See Also