Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.72 KB

iwebview2httpresponseheaders.md

File metadata and controls

58 lines (37 loc) · 1.72 KB
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

interface IWebView2HttpResponseHeaders

[!INCLUDE deprecation-note]

interface IWebView2HttpResponseHeaders
  : public IUnknown

HTTP response headers.

Summary

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.

Members

AppendHeader

Appends header line with name and value.

public HRESULT AppendHeader(LPCWSTR name,LPCWSTR value)

Contains

Checks whether the headers contain entries matching the header name.

public HRESULT Contains(LPCWSTR name,BOOL * contains)

GetHeaders

Gets the header values matching the name.

public HRESULT GetHeaders(LPCWSTR name,IWebView2HttpHeadersCollectionIterator ** iterator)

GetIterator

Gets an iterator over the collection of entire response headers.

public HRESULT GetIterator(IWebView2HttpHeadersCollectionIterator ** iterator)