You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
585 B
C++
23 lines
585 B
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#ifndef HTTP_HPP_
|
|
#define HTTP_HPP_
|
|
|
|
#include "exiv2lib_export.h"
|
|
|
|
#include "datasets.hpp"
|
|
|
|
|
|
namespace Exiv2 {
|
|
/*!
|
|
@brief execute an HTTP request
|
|
@param request - a Dictionary of headers to send to server
|
|
@param response - a Dictionary of response headers (dictionary is filled by the response)
|
|
@param errors - a String with an error
|
|
@return Server response 200 = OK, 404 = Not Found etc...
|
|
*/
|
|
EXIV2API int http(Exiv2::Dictionary& request,Exiv2::Dictionary& response,std::string& errors);
|
|
}
|
|
|
|
#endif
|