Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkIRESTObserver.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkIRESTObserver_h
14
#define mitkIRESTObserver_h
15
16
#include <MitkRESTExports.h>
17
#include <
mitkRESTUtil.h
>
18
#include <cpprest/json.h>
19
#include <cpprest/uri.h>
20
#include <cpprest/http_client.h>
21
22
namespace
mitk
23
{
24
class
MITKREST_EXPORT
IRESTObserver
25
{
26
public
:
32
virtual
~
IRESTObserver
();
33
41
virtual
web::http::http_response
Notify(
const
web::uri &uri,
42
const
web::json::value &data,
43
const
web::http::method &method,
44
const
mitk::RESTUtil::ParamMap
&headers) = 0;
45
46
47
private
:
48
};
49
}
50
51
#endif
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::IRESTObserver
Definition:
mitkIRESTObserver.h:24
http_response
web::http::http_response http_response
Definition:
mitkRESTClient.cpp:22
mitk::RESTUtil::ParamMap
std::map< utility::string_t, utility::string_t > ParamMap
Definition:
mitkRESTUtil.h:27
mitkRESTUtil.h
Source
Modules
REST
include
mitkIRESTObserver.h
Generated on Thu Mar 12 2020 10:23:53 for Medical Imaging Interaction Toolkit by
1.8.13