AOSharedServiceLibrary
Public Member Functions | List of all members
HttpInterface Class Referenceabstract

The HTTP Requests Administrators. More...

#include <http_interface.h>

Public Member Functions

virtual void shutdown ()=0
 Shutdown the admin.
 
virtual bool put (std::string url, std::string data, int timeout)=0
 Put. More...
 
virtual std::string get (std::string url, int timeout)=0
 Get. More...
 
virtual bool post (std::string url, std::string data, int timeout)=0
 Post. More...
 
virtual bool del (std::string url, int timeout)=0
 Delete. More...
 

Detailed Description

The HTTP Requests Administrators.

This class is in charge of making HTTP Requests Support for put, get post, and delete

Member Function Documentation

virtual bool HttpInterface::del ( std::string  url,
int  timeout 
)
pure virtual

Delete.

Delete from the given URL with the specified timeout

virtual std::string HttpInterface::get ( std::string  url,
int  timeout 
)
pure virtual

Get.

Get from the given URL with the specified timeout

virtual bool HttpInterface::post ( std::string  url,
std::string  data,
int  timeout 
)
pure virtual

Post.

Post to the given URL the supplied data with the specified timeout

virtual bool HttpInterface::put ( std::string  url,
std::string  data,
int  timeout 
)
pure virtual

Put.

Put to the given URL the supplied data with the specified timeout


The documentation for this class was generated from the following file: