mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-29 04:22:16 -05:00
111 lines
1.6 KiB
ReStructuredText
111 lines
1.6 KiB
ReStructuredText
|
|
||
|
.. _scriptref_web:
|
||
|
|
||
|
Internet Functions
|
||
|
==================
|
||
|
|
||
|
OpenWebPage
|
||
|
-----------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
procedure OpenWebPage(const url : string);
|
||
|
|
||
|
|
||
|
GetPage
|
||
|
-------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
function GetPage(const url : string): string;
|
||
|
|
||
|
|
||
|
InitializeHTTPClient
|
||
|
--------------------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
function InitializeHTTPClient(HandleCookies: Boolean): Integer;
|
||
|
|
||
|
|
||
|
InitializeHTTPClientWrap
|
||
|
------------------------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
function InitializeHTTPClientWrap(HandleCookies: Boolean): Integer;
|
||
|
|
||
|
|
||
|
FreeHTTPClient
|
||
|
--------------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
procedure FreeHTTPClient(Client: Integer);
|
||
|
|
||
|
|
||
|
GetHTTPPage
|
||
|
-----------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
function GetHTTPPage(Client: Integer;const URL: string): string;
|
||
|
|
||
|
|
||
|
SetHTTPUserAgent
|
||
|
----------------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
procedure SetHTTPUserAgent(Client: Integer;const Agent: string);
|
||
|
|
||
|
|
||
|
PostHTTPPage
|
||
|
------------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
function PostHTTPPage(Client: Integer;const Url,PostData: string): string;
|
||
|
|
||
|
|
||
|
PostHTTPPageEx
|
||
|
--------------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
function PostHTTPPageEx(Client: Integer;const Url: string): string;
|
||
|
|
||
|
|
||
|
ClearPostData
|
||
|
-------------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
procedure ClearPostData(Client: Integer);
|
||
|
|
||
|
|
||
|
AddPostVariable
|
||
|
---------------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
procedure AddPostVariable(Client: Integer;const VarName, VarValue: string);
|
||
|
|
||
|
|
||
|
GetRawHeaders
|
||
|
-------------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
function GetRawHeaders(Client: Integer): string;
|
||
|
|
||
|
|
||
|
SetProxy
|
||
|
--------
|
||
|
|
||
|
.. code-block:: pascal
|
||
|
|
||
|
procedure SetProxy(Client : Integer; pHost, pPort : String);');
|
||
|
|
||
|
|