Name | Description | |
---|---|---|
CYpb | ||
dYpb | ||
EYpb | ||
fYpb | ||
GYpb |
The following tables list the members exposed by NWebRequest.
Name | Description | |
---|---|---|
AllowSharedDownload | Gets or sets whether the response download for this request can be shared with other similar requests that are currently in-progress. Shared downloads is only supported for GET requests, so this property has no effect, if the Method is not equal to GET. By default set to true. | |
CreateResponseDataStream | Delegate which is called when a stream needs to be created to store the response data. If set to null, the request by default creates a new MemoryStream. | |
SentAt | Gets the date-time at which this request has been sent. Valid only after Send() was called. | |
Status | Gets the status of this request. | |
Uri | Gets the Uniform Resource Identifier (URI) associated with this request. |
Name | Description | |
---|---|---|
Abort | Aborts this web request. This method has no effect if the request has been completed. If the request is not submitted or is in-progress, the Completed event is raised immediately, with an Aborted respose type. | |
Submit | Sends a web request. When a response arrives or if the request gets aborted, this request will raise the Completed event. Use the Status property of the response to determine whether the request has been executed successfully. | |
TryCreate | Tries to create a new URI request for the resourse located at the specified URI. Current recognized are HTTP, HTTPS and FILE URIs. |
Name | Description | |
---|---|---|
Completed | Raised when the request is completed. The request and the response are passed as arguments in the event args. | |
DownloadProgress | Raised when the request progressed in downloading the response stream. The request, download size and downloaded size are passed as arguments in the event args. | |
EndDownload | Raised when the request ended the download of the response stream. The request and download size are passed as arguments in the event args. | |
StartDownload | Raised when the request starts to download the response stream. The request and download size are passed as arguments in the event args. |