nn::boss::TaskActionBase::AddHeaderField Member Functionnn::Result AddHeaderField( const char * pLabel, const char * pValue );
| Name | Description | |
|---|---|---|
| in | pLabel | Specifies the header name. |
| in | pValue | Specifies the header value. |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Set successfully. |
ResultHttpRequestHeaderPointerNull |
The HTTP request header pointer is NULL. |
ResultInvalidMaxHttpRequestHeader |
The HTTP request header registration count exceeds the maximum. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Adds header fields to the HTTP header.
CONFIDENTIAL