mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
146 lines
11 KiB
HTML
146 lines
11 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>cef4delphi: uCEFTypes: Record TCefServerHandler</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="generator" content="PasDoc 0.16.0-snapshot">
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
|
|
</head>
|
|
<body>
|
|
<span id="TCefServerHandler"></span><h1 class="cio">Record TCefServerHandler</h1>
|
|
<div class="sections">
|
|
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section">Hierarchy</div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section">Methods</div><div class="one_section">Properties</div></div>
|
|
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
|
|
<p class="unitlink">
|
|
<a href="uCEFTypes.html">uCEFTypes</a></p>
|
|
<h2 class="declaration">Declaration</h2>
|
|
<p class="declaration">
|
|
<code>type TCefServerHandler = record</code></p>
|
|
<h2 class="description">Description</h2>
|
|
<p>
|
|
Implement this structure to handle HTTP server requests. A new thread will be created for each ICefServer.CreateServer call (the "dedicated server thread"), and the functions of this structure will be called on that thread. It is therefore recommended to use a different ICefServerHandler instance for each ICefServer.CreateServer call to avoid thread safety issues in the ICefServerHandler implementation. </p>
|
|
<p>
|
|
|
|
|
|
<p>Implemented by ICefServerHandler.
|
|
|
|
<p><see href="<a href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_server_capi.h">https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_server_capi.h</a>">CEF source file: /include/capi/cef_server_capi.h (cef_server_handler_t))</p>
|
|
<h2 class="overview">Overview</h2>
|
|
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
|
|
<table class="summary wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefServerHandler.html#base">base</a></strong>: <a href="uCEFTypes.TCefBaseRefCounted.html">TCefBaseRefCounted</a>;</code></td>
|
|
</tr>
|
|
<tr class="list2">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefServerHandler.html#on_server_created">on_server_created</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>); stdcall;</code></td>
|
|
</tr>
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefServerHandler.html#on_server_destroyed">on_server_destroyed</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>); stdcall;</code></td>
|
|
</tr>
|
|
<tr class="list2">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefServerHandler.html#on_client_connected">on_client_connected</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer); stdcall;</code></td>
|
|
</tr>
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefServerHandler.html#on_client_disconnected">on_client_disconnected</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer); stdcall;</code></td>
|
|
</tr>
|
|
<tr class="list2">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefServerHandler.html#on_http_request">on_http_request</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer; const client_address: <a href="uCEFTypes.html#PCefString">PCefString</a>; request: <a href="uCEFTypes.html#PCefRequest">PCefRequest</a>); stdcall;</code></td>
|
|
</tr>
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefServerHandler.html#on_web_socket_request">on_web_socket_request</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer; const client_address: <a href="uCEFTypes.html#PCefString">PCefString</a>; request: <a href="uCEFTypes.html#PCefRequest">PCefRequest</a>; callback: <a href="uCEFTypes.html#PCefCallback">PCefCallback</a>); stdcall;</code></td>
|
|
</tr>
|
|
<tr class="list2">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefServerHandler.html#on_web_socket_connected">on_web_socket_connected</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer); stdcall;</code></td>
|
|
</tr>
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><code><strong><a href="uCEFTypes.TCefServerHandler.html#on_web_socket_message">on_web_socket_message</a></strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer; const data: Pointer; data_size: <a href="uCEFTypes.html#NativeUInt">NativeUInt</a>); stdcall;</code></td>
|
|
</tr>
|
|
</table>
|
|
<h2 class="description">Description</h2>
|
|
<h3 class="detail">Fields</h3>
|
|
<table class="detail wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><span id="base"></span><code><strong>base</strong>: <a href="uCEFTypes.TCefBaseRefCounted.html">TCefBaseRefCounted</a>;</code></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<p class="nodescription">This item has no description.</p></td></tr>
|
|
</table>
|
|
<table class="detail wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><span id="on_server_created"></span><code><strong>on_server_created</strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>); stdcall;</code></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<p class="nodescription">This item has no description.</p></td></tr>
|
|
</table>
|
|
<table class="detail wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><span id="on_server_destroyed"></span><code><strong>on_server_destroyed</strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>); stdcall;</code></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<p class="nodescription">This item has no description.</p></td></tr>
|
|
</table>
|
|
<table class="detail wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><span id="on_client_connected"></span><code><strong>on_client_connected</strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer); stdcall;</code></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<p class="nodescription">This item has no description.</p></td></tr>
|
|
</table>
|
|
<table class="detail wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><span id="on_client_disconnected"></span><code><strong>on_client_disconnected</strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer); stdcall;</code></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<p class="nodescription">This item has no description.</p></td></tr>
|
|
</table>
|
|
<table class="detail wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><span id="on_http_request"></span><code><strong>on_http_request</strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer; const client_address: <a href="uCEFTypes.html#PCefString">PCefString</a>; request: <a href="uCEFTypes.html#PCefRequest">PCefRequest</a>); stdcall;</code></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<p class="nodescription">This item has no description.</p></td></tr>
|
|
</table>
|
|
<table class="detail wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><span id="on_web_socket_request"></span><code><strong>on_web_socket_request</strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer; const client_address: <a href="uCEFTypes.html#PCefString">PCefString</a>; request: <a href="uCEFTypes.html#PCefRequest">PCefRequest</a>; callback: <a href="uCEFTypes.html#PCefCallback">PCefCallback</a>); stdcall;</code></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<p class="nodescription">This item has no description.</p></td></tr>
|
|
</table>
|
|
<table class="detail wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><span id="on_web_socket_connected"></span><code><strong>on_web_socket_connected</strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer); stdcall;</code></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<p class="nodescription">This item has no description.</p></td></tr>
|
|
</table>
|
|
<table class="detail wide_list">
|
|
<tr class="list">
|
|
<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
|
|
<td class="itemcode"><span id="on_web_socket_message"></span><code><strong>on_web_socket_message</strong>: procedure(self: <a href="uCEFTypes.html#PCefServerHandler">PCefServerHandler</a>; server: <a href="uCEFTypes.html#PCefServer">PCefServer</a>; connection_id: Integer; const data: Pointer; data_size: <a href="uCEFTypes.html#NativeUInt">NativeUInt</a>); stdcall;</code></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<p class="nodescription">This item has no description.</p></td></tr>
|
|
</table>
|
|
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
|
|
</span>
|
|
</body></html>
|