## CookieContainer::GetCookieHeader(System::SharedPtr\<Uri\>) method


지정된 URI와 연관된 쿠키를 포함하는 HTTP 헤더를 반환합니다.

```cpp
String System::Net::CookieContainer::GetCookieHeader(System::SharedPtr<Uri> uri)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | 헤더 이름이 구축될 URI입니다. |

### ReturnValue

지정된 URI와 연결된 쿠키를 포함하는 HTTP 헤더입니다.

## 또 보기

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Uri](../../../system/uri/)
* Class [CookieContainer](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## CookieContainer::GetCookieHeader(System::SharedPtr\<Uri\>, String\&) method


지정된 URI와 연관된 쿠키를 포함하는 HTTP 헤더를 반환합니다.

```cpp
String System::Net::CookieContainer::GetCookieHeader(System::SharedPtr<Uri> uri, String &optCookie2)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | 헤더 이름이 구축될 URI입니다. |
| optCookie2 | String\& | 최대 지원 버전을 가진 쿠키가 할당되는 출력 매개변수입니다. |

### ReturnValue

지정된 URI와 연결된 쿠키를 포함하는 HTTP 헤더입니다.

## 또 보기

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Uri](../../../system/uri/)
* Class [CookieContainer](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
