CoreWebView2HttpResponseHeaders Class

Definition

HTTP response headers.

public class CoreWebView2HttpResponseHeaders : System.Collections.IEnumerable
public class CoreWebView2HttpResponseHeaders : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>>
type CoreWebView2HttpResponseHeaders = class
    interface IEnumerable
type CoreWebView2HttpResponseHeaders = class
    interface seq<KeyValuePair<string, string>>
    interface IEnumerable
Public Class CoreWebView2HttpResponseHeaders
Implements IEnumerable
Public Class CoreWebView2HttpResponseHeaders
Implements IEnumerable(Of KeyValuePair(Of String, String))
Inheritance
CoreWebView2HttpResponseHeaders
Implements

Remarks

Used to construct a CoreWebView2WebResourceResponse for the WebResourceRequested event.

Methods

AppendHeader(String, String)

Appends header line with name and value.

Contains(String)

Checks whether this CoreWebView2HttpResponseHeaders contain entries matching the header name.

GetEnumerator()

Returns an enumerator that iterates through the CoreWebView2HttpRequestHeaders or CoreWebView2HttpResponseHeaders collection.

GetHeader(String)

Gets the first header value in the collection matching the name.

GetHeaders(String)

Gets the header values matching the name.

GetIterator()

Gets a CoreWebView2HttpHeadersCollectionIterator over the collection of entire CoreWebView2HttpResponseHeaders.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<KeyValuePair<String,String>>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to