[−][src]Trait webview2_sys::ICoreWebView2WebResourceRequest
An HTTP request used with the WebResourceRequested event.
Required methods
unsafe fn get_uri(&self, uri: *mut LPWSTR) -> HRESULT
The request URI.
unsafe fn put_uri(&self, uri: LPCWSTR) -> HRESULT
Set the Uri property.
unsafe fn get_method(&self, method: *mut LPWSTR) -> HRESULT
The HTTP request method.
unsafe fn put_method(&self, method: LPCWSTR) -> HRESULT
Set the Method property.
unsafe fn get_content(&self, content: *mut *mut *mut IStreamVTable) -> HRESULT
The HTTP request message body as stream. POST data would be here. If a stream is set, which will override the message body, the stream must have all the content data available by the time this response's WebResourceRequested event deferral 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 calls until all data is exhausted)
unsafe fn put_content(&self, content: *mut *mut IStreamVTable) -> HRESULT
Set the Content property.
unsafe fn get_headers(
&self,
headers: *mut *mut *mut ICoreWebView2HttpRequestHeadersVTable
) -> HRESULT
&self,
headers: *mut *mut *mut ICoreWebView2HttpRequestHeadersVTable
) -> HRESULT
The mutable HTTP request headers
Trait Implementations
impl ComInterface for dyn ICoreWebView2WebResourceRequest[src]
type VTable = ICoreWebView2WebResourceRequestVTable
A COM compatible V-Table
type Super = dyn IUnknown
The interface that this interface inherits from
const IID: IID[src]
fn is_iid_in_inheritance_chain(riid: &GUID) -> bool[src]
impl<C: ICoreWebView2WebResourceRequest> ProductionComInterface<C> for dyn ICoreWebView2WebResourceRequest[src]
Implementations on Foreign Types
impl<T: ICoreWebView2WebResourceRequest + ComInterface + ?Sized> ICoreWebView2WebResourceRequest for ComRc<T>[src]
unsafe fn get_uri(&self, uri: *mut LPWSTR) -> HRESULT[src]
unsafe fn put_uri(&self, uri: LPCWSTR) -> HRESULT[src]
unsafe fn get_method(&self, method: *mut LPWSTR) -> HRESULT[src]
unsafe fn put_method(&self, method: LPCWSTR) -> HRESULT[src]
unsafe fn get_content(&self, content: *mut *mut *mut IStreamVTable) -> HRESULT[src]
unsafe fn put_content(&self, content: *mut *mut IStreamVTable) -> HRESULT[src]
unsafe fn get_headers(
&self,
headers: *mut *mut *mut ICoreWebView2HttpRequestHeadersVTable
) -> HRESULT[src]
&self,
headers: *mut *mut *mut ICoreWebView2HttpRequestHeadersVTable
) -> HRESULT
impl<T: ICoreWebView2WebResourceRequest + ComInterface + ?Sized> ICoreWebView2WebResourceRequest for ComPtr<T>[src]
unsafe fn get_uri(&self, uri: *mut LPWSTR) -> HRESULT[src]
unsafe fn put_uri(&self, uri: LPCWSTR) -> HRESULT[src]
unsafe fn get_method(&self, method: *mut LPWSTR) -> HRESULT[src]
unsafe fn put_method(&self, method: LPCWSTR) -> HRESULT[src]
unsafe fn get_content(&self, content: *mut *mut *mut IStreamVTable) -> HRESULT[src]
unsafe fn put_content(&self, content: *mut *mut IStreamVTable) -> HRESULT[src]
unsafe fn get_headers(
&self,
headers: *mut *mut *mut ICoreWebView2HttpRequestHeadersVTable
) -> HRESULT[src]
&self,
headers: *mut *mut *mut ICoreWebView2HttpRequestHeadersVTable
) -> HRESULT