ICoreWebView2WebResourceRequest

Undocumented in source.

Members

Functions

get_Content
HRESULT get_Content(IStream** content)

The HTTP request message body as stream. POST data should be here. If a stream is set, which overrides the message body, the stream must have all the content data available by the time the WebResourceRequested event deferral of this response is completed. Stream should be agile or be created from a background STA to prevent performance impact to the UI thread. Null means no content data. IStream semantics apply (return S_OK to Read runs until all data is exhausted).

get_Headers
HRESULT get_Headers(ICoreWebView2HttpRequestHeaders* headers)

The mutable HTTP request headers

get_Method
HRESULT get_Method(LPWSTR* method)

The HTTP request method.

get_Uri
HRESULT get_Uri(LPWSTR* uri)

The request URI.

put_Content
HRESULT put_Content(IStream* content)

Sets the Content property.

put_Method
HRESULT put_Method(LPCWSTR method)

Sets the Method property.

put_Uri
HRESULT put_Uri(LPCWSTR uri)

Sets the Uri property.

Meta