mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
				synced 2025-10-31 18:57:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| //
 | |
| // Created by stephane bourque on 2021-07-18.
 | |
| //
 | |
| 
 | |
| #ifndef UCENTRALFMS_RESTAPI_CONNECTEDDEVICESHANDLER_H
 | |
| #define UCENTRALFMS_RESTAPI_CONNECTEDDEVICESHANDLER_H
 | |
| 
 | |
| 
 | |
| #include "framework/MicroService.h"
 | |
| 
 | |
| namespace OpenWifi {
 | |
|     class RESTAPI_connectedDevicesHandler : public RESTAPIHandler {
 | |
|     public:
 | |
|         RESTAPI_connectedDevicesHandler(const RESTAPIHandler::BindingMap &bindings, Poco::Logger &L, RESTAPI_GenericServer & Server, bool Internal)
 | |
|                 : RESTAPIHandler(bindings, L,
 | |
|                                  std::vector<std::string>
 | |
|                                          {Poco::Net::HTTPRequest::HTTP_GET,
 | |
|                                           Poco::Net::HTTPRequest::HTTP_OPTIONS},
 | |
|                                           Server,
 | |
|                                           Internal) {}
 | |
|         static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/connectedDevices"};}
 | |
|         void DoGet()  final;
 | |
|         void DoDelete() final {};
 | |
|         void DoPost() final {};
 | |
|         void DoPut() final {};
 | |
| 
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif //UCENTRALFMS_RESTAPI_CONNECTEDDEVICESHANDLER_H
 | 
