interface ICoreWebView2HttpResponseHeaders
Note
This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
interface ICoreWebView2HttpResponseHeaders
: public IUnknown
HTTP response headers.
Members | Descriptions |
---|---|
AppendHeader | Appends header line with name and value. |
Contains | Checks whether the headers contain entries matching the header name. |
GetHeader | Gets the first header value in the collection matching the name. |
GetHeaders | Gets the header values matching the name. |
GetIterator | Gets an iterator over the collection of entire response headers. |
Used to construct a WebResourceResponse for the WebResourceRequested event.
Appends header line with name and value.
public HRESULT AppendHeader(LPCWSTR name, LPCWSTR value)
Checks whether the headers contain entries matching the header name.
public HRESULT Contains(LPCWSTR name, BOOL * contains)
Gets the first header value in the collection matching the name.
public HRESULT GetHeader(LPCWSTR name, LPWSTR * value)
Gets the header values matching the name.
public HRESULT GetHeaders(LPCWSTR name, ICoreWebView2HttpHeadersCollectionIterator ** iterator)
Gets an iterator over the collection of entire response headers.
public HRESULT GetIterator(ICoreWebView2HttpHeadersCollectionIterator ** iterator)