CoreWebView2HttpResponseHeaders Class
Implements: IIterable<IKeyValuePair
<string, string>>
HTTP response headers. Used to construct a CoreWebView2WebResourceResponse for the CoreWebView2.WebResourceRequested event.
Summary
Members | Description |
---|---|
AppendHeader | Appends header line with name and value. |
Contains | Checks whether this CoreWebView2HttpResponseHeaders contain entries matching the header name. |
First | |
GetHeader | Gets the first header value in the collection matching the name. |
GetHeaders | Gets the header values matching the name. |
Methods
AppendHeader
void AppendHeader(string name, string value)
Appends header line with name and value.
Contains
bool Contains(string name)
Checks whether this CoreWebView2HttpResponseHeaders contain entries matching the header name.
First
IIterator
<IKeyValuePair
<string, string>> First()
GetHeader
string GetHeader(string name)
Gets the first header value in the collection matching the name.
GetHeaders
CoreWebView2HttpHeadersCollectionIterator GetHeaders(string name)
Gets the header values matching the name.