HTTP_Client.h

Go to the documentation of this file.
00001 /*  Copyright (c) MediaArea.net SARL. All Rights Reserved.
00002  *
00003  *  Use of this source code is governed by a zlib-style license that can
00004  *  be found in the License.txt file in the root of the source tree.
00005  */
00006 
00007 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00008 //
00009 // Basic HTTP client
00010 //
00011 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00012 
00013 //---------------------------------------------------------------------------
00014 #ifndef ZenLib_HTTPClientH
00015 #define ZenLib_HTTPClientH
00016 //---------------------------------------------------------------------------
00017 
00018 //---------------------------------------------------------------------------
00019 #include "ZenLib/Ztring.h"
00020 //---------------------------------------------------------------------------
00021 
00022 namespace ZenLib
00023 {
00024 
00025 //***************************************************************************
00026 /// @brief Basic HTTP client
00027 //***************************************************************************
00028 
00029 class HTTP_Client
00030 {
00031 public :
00032     //Constructor/Destructor
00033     HTTP_Client  ();
00034     ~HTTP_Client ();
00035 
00036     //Open/Close
00037     int  Open  (Ztring URL);
00038     void Close ();
00039 
00040     //Read
00041     Ztring Read();
00042 
00043 private :
00044     int32u Handle;
00045 };
00046 
00047 } //NameSpace
00048 
00049 #endif

Generated on Sun Mar 5 00:13:54 2017 for ZenLib by  doxygen 1.4.7