1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-25 16:58:53 -05:00
Simba/Doc/sphinx/scriptref/web.rst
Merlijn Wajer 47886fdf25 More documentation changes + additions.
Mainly skeletons of all the functions without further explanation and examples.
2010-09-09 17:19:29 +02:00

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);');