description | title | author | ms.author | ms.date | ms.topic | keywords |
---|---|---|---|---|---|---|
HTTP response headers. |
WebView2 Win32 C++ IWebView2HttpResponseHeaders |
MSEdgeTeam |
msedgedevrel |
10/07/2020 |
reference |
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge |
[!INCLUDE deprecation-note]
interface IWebView2HttpResponseHeaders
: 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. |
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 header values matching the name.
public HRESULT GetHeaders(LPCWSTR name,IWebView2HttpHeadersCollectionIterator ** iterator)
Gets an iterator over the collection of entire response headers.
public HRESULT GetIterator(IWebView2HttpHeadersCollectionIterator ** iterator)