Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkRESTServer.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 mitkRESTServer_h
14 #define mitkRESTServer_h
15 
16 #include <MitkRESTExports.h>
17 #include <cpprest/uri.h>
18 
19 namespace mitk
20 {
21  class MITKREST_EXPORT RESTServer
22  {
23  public:
29  RESTServer(const web::uri &uri);
30  ~RESTServer();
31 
32  web::uri GetUri();
33 
37  void OpenListener();
38 
42  void CloseListener();
43  private:
49  class Impl;
50  std::unique_ptr<Impl> m_Impl;
51  };
52 }
53 
54 #endif
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::RESTServer
Definition: mitkRESTServer.h:21