HttpRequestHeaders¶
Summary¶
The class that represents an HTTP request headers collection.
Signature
1 |
|
Namespace¶
cAlgo.API
Methods¶
Add¶
Summary
Adds a new header.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The Header name |
value | string | The Header value |
Return Value
void
Update¶
Summary
Updates an existing header.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The Header name |
value | string | The new Header value |
Return Value
void
Remove¶
Summary
Removes an existing header.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | Header name |
Return Value
bool
GetValue¶
Summary
Returns an existing header value.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
name | string | The Header name |
Return Value
string
GetEnumerator¶
Summary
Returns an enumerator that iterates through HttpRequestHeaders.
Signature
1 |
|
Return Value
IEnumerator