Medical Imaging Interaction Toolkit
2024.06.00
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
43
virtual
web::http::http_response Notify(
const
web::uri &uri,
44
const
web::json::value &data,
45
const
web::http::method &method,
46
const
mitk::RESTUtil::ParamMap
&headers) = 0;
47
48
49
private
:
50
};
51
}
52
53
#endif
mitk::RESTUtil::ParamMap
std::map< utility::string_t, utility::string_t > ParamMap
Definition:
mitkRESTUtil.h:27
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitkRESTUtil.h
mitk::IRESTObserver
Definition:
mitkIRESTObserver.h:24
src
MITK
Modules
REST
include
mitkIRESTObserver.h
Generated on Mon Jun 17 2024 12:43:27 for Medical Imaging Interaction Toolkit by
1.8.17