## HttpRequestMessage::HttpRequestMessage() constructor


Constructs a new instance.

```cpp
System::Net::Http::HttpRequestMessage::HttpRequestMessage()
```

## See Also

* Class [HttpRequestMessage](../)
* Namespace [System::Net::Http](../../)
* Library [Aspose.PDF for C++](../../../)
## HttpRequestMessage::HttpRequestMessage(System::SharedPtr\<HttpMethod\>, String) constructor


Constructs a new instance.

```cpp
System::Net::Http::HttpRequestMessage::HttpRequestMessage(System::SharedPtr<HttpMethod> method, String requestUri)
```


| Parameter | Type | Description |
| --- | --- | --- |
| method | System::SharedPtr\<HttpMethod\> | The HTTP method. |
| requestUri | String | The URI of the requested resource. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [HttpMethod](../../httpmethod/)
* Class [String](../../../system/string/)
* Class [HttpRequestMessage](../)
* Namespace [System::Net::Http](../../)
* Library [Aspose.PDF for C++](../../../)
## HttpRequestMessage::HttpRequestMessage(System::SharedPtr\<HttpMethod\>, System::SharedPtr\<Uri\>) constructor


Constructs a new instance.

```cpp
System::Net::Http::HttpRequestMessage::HttpRequestMessage(System::SharedPtr<HttpMethod> method, System::SharedPtr<Uri> requestUri)
```


| Parameter | Type | Description |
| --- | --- | --- |
| method | System::SharedPtr\<HttpMethod\> | The HTTP method. |
| requestUri | System::SharedPtr\<Uri\> | The URI of the requested resource. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [HttpMethod](../../httpmethod/)
* Class [Uri](../../../system/uri/)
* Class [HttpRequestMessage](../)
* Namespace [System::Net::Http](../../)
* Library [Aspose.PDF for C++](../../../)
