"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xbmc/network/httprequesthandler/IHTTPRequestHandler.h" between
xbmc-18.7.1-Leia.tar.gz and xbmc-18.8-Leia.tar.gz

About: XBMC is a software media player and entertainment hub for digital media that plays almost all popular audio and video formats around (new name "Kodi").

IHTTPRequestHandler.h  (xbmc-18.7.1-Leia):IHTTPRequestHandler.h  (xbmc-18.8-Leia)
skipping to change at line 25 skipping to change at line 25
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include <map> #include <map>
#include <string> #include <string>
#include <microhttpd.h> #include <microhttpd.h>
#include "utils/HttpRangeUtils.h" #include "utils/HttpRangeUtils.h"
#if MHD_VERSION >= 0x00097002
using MHD_RESULT = MHD_Result;
#else
using MHD_RESULT = int;
#endif
class CDateTime; class CDateTime;
class CWebServer; class CWebServer;
enum HTTPMethod enum HTTPMethod
{ {
UNKNOWN, UNKNOWN,
POST, POST,
GET, GET,
HEAD HEAD
}; };
skipping to change at line 117 skipping to change at line 123
* \param request HTTP request to be handled * \param request HTTP request to be handled
* \return True if the given HTTP request can be handled otherwise false. * \return True if the given HTTP request can be handled otherwise false.
*/ */
virtual bool CanHandleRequest(const HTTPRequest &request) const = 0; virtual bool CanHandleRequest(const HTTPRequest &request) const = 0;
/*! /*!
* \brief Handles the HTTP request. * \brief Handles the HTTP request.
* *
* \return MHD_NO if a severe error has occurred otherwise MHD_YES. * \return MHD_NO if a severe error has occurred otherwise MHD_YES.
*/ */
virtual int HandleRequest() = 0; virtual MHD_RESULT HandleRequest() = 0;
/*! /*!
* \brief Whether the HTTP response could also be provided in ranges. * \brief Whether the HTTP response could also be provided in ranges.
*/ */
virtual bool CanHandleRanges() const { return false; } virtual bool CanHandleRanges() const { return false; }
/*! /*!
* \brief Whether the HTTP response can be cached. * \brief Whether the HTTP response can be cached.
*/ */
virtual bool CanBeCached() const { return false; } virtual bool CanBeCached() const { return false; }
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)