<tdclass="itemcode"><code>procedure <strong><ahref="uCEFResourceHandler.TCefResourceHandlerRef.html#GetResponseHeaders-ICefResponse-Int64-ustring-">GetResponseHeaders</a></strong>(const response: <ahref="uCEFInterfaces.ICefResponse.html">ICefResponse</a>; out responseLength: Int64; out redirectUrl: <ahref="uCEFTypes.html#ustring">ustring</a>);</code></td>
<tdclass="itemcode"><code>class function <strong><ahref="uCEFResourceHandler.TCefResourceHandlerRef.html#UnWrap-Pointer-">UnWrap</a></strong>(data: Pointer): <ahref="uCEFInterfaces.ICefResourceHandler.html">ICefResourceHandler</a>;</code></td>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFInterfaces.ICefResourceHandler.html#open-ICefRequest-boolean-ICefCallback-">ICefResourceHandler.open</a>.</p><p>
Open the response stream. To handle the request immediately set |handle_request| to true (1) and return true (1). To decide at a later time set |handle_request| to false (0), return true (1), and execute |callback| to continue or cancel the request. To cancel the request immediately set |handle_request| to true (1) and return false (0). This function will be called in sequence but not from a dedicated thread. For backwards compatibility set |handle_request| to false (0) and return false (0) and the ProcessRequest function will be called. </p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFInterfaces.ICefResourceHandler.html#ProcessRequest-ICefRequest-ICefCallback-">ICefResourceHandler.ProcessRequest</a>.</p><p>
Begin processing the request. To handle the request return true (1) and call ICefCallback.cont() once the response header information is available (ICefCallback.cont() can also be called from inside this function if header information is available immediately). To cancel the request return false (0).
<p>WARNING: This function is deprecated. Use Open instead.</p>
<tdclass="itemcode"><spanid="GetResponseHeaders-ICefResponse-Int64-ustring-"></span><code>procedure <strong>GetResponseHeaders</strong>(const response: <ahref="uCEFInterfaces.ICefResponse.html">ICefResponse</a>; out responseLength: Int64; out redirectUrl: <ahref="uCEFTypes.html#ustring">ustring</a>);</code></td>
<tdclass="itemcode"><spanid="skip-int64-Int64-ICefResourceSkipCallback-"></span><code>function <strong>skip</strong>(bytes_to_skip: int64; var bytes_skipped: Int64; const callback: <ahref="uCEFInterfaces.ICefResourceSkipCallback.html">ICefResourceSkipCallback</a>): boolean;</code></td>
</tr>
<tr><tdcolspan="2">
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFInterfaces.ICefResourceHandler.html#skip-int64-Int64-ICefResourceSkipCallback-">ICefResourceHandler.skip</a>.</p><p>
Skip response data when requested by a Range header. Skip over and discard |bytes_to_skip| bytes of response data. If data is available immediately set |bytes_skipped| to the number of bytes skipped and return true (1). To read the data at a later time set |bytes_skipped| to 0, return true (1) and execute |callback| when the data is available. To indicate failure set |bytes_skipped| to < 0 (e.g. -2 for ERR_FAILED) and return false (0). This function will be called in sequence but not from a dedicated thread. </p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFInterfaces.ICefResourceHandler.html#read-Pointer-Integer-Integer-ICefResourceReadCallback-">ICefResourceHandler.read</a>.</p><p>
Read response data. If data is available immediately copy up to |bytes_to_read| bytes into |data_out|, set |bytes_read| to the number of bytes copied, and return true (1). To read the data at a later time keep a pointer to |data_out|, set |bytes_read| to 0, return true (1) and execute |callback| when the data is available (|data_out| will remain valid until the callback is executed). To indicate response completion set |bytes_read| to 0 and return false (0). To indicate failure set |bytes_read| to < 0 (e.g. -2 for ERR_FAILED) and return false (0). This function will be called in sequence but not from a dedicated thread. For backwards compatibility set |bytes_read| to -1 and return false (0) and the ReadResponse function will be called. </p>
<pclass="inheritdescription">This item has no description. Showing description inherited from <aclass="normal"href="uCEFInterfaces.ICefResourceHandler.html#ReadResponse-Pointer-Integer-Integer-ICefCallback-">ICefResourceHandler.ReadResponse</a>.</p><p>
Read response data. If data is available immediately copy up to |bytes_to_read| bytes into |data_out|, set |bytes_read| to the number of bytes copied, and return true (1). To read the data at a later time set |bytes_read| to 0, return true (1) and call ICefCallback.cont() when the data is available. To indicate response completion return false (0).
<p>WARNING: This function is deprecated. Use Skip and Read instead.</p>
<tdclass="itemcode"><spanid="UnWrap-Pointer-"></span><code>class function <strong>UnWrap</strong>(data: Pointer): <ahref="uCEFInterfaces.ICefResourceHandler.html">ICefResourceHandler</a>;</code></td>
</tr>
<tr><tdcolspan="2">
<pclass="nodescription">This item has no description.</p></td></tr>