Creates a new HttpRequest object.
This is a static method.
|
This is a static method.
|
Type | Description |
HttpRequest | Returns the new HttpRequest object. |
Name | Type | Description |
url | string | The URL to make the request to. |
method | HttpMethods | The method to use for the request. The default is GetMethod. This is an optional argument whose default value is HttpMethods.GetMethod. |