add: status for mqtt
fix: refactor connection handlers
This commit is contained in:
		
							parent
							
								
									2bc11ee829
								
							
						
					
					
						commit
						6c6e5023da
					
				
					 19 changed files with 534 additions and 183 deletions
				
			
		
							
								
								
									
										10
									
								
								include/endpoints/api_v1_ws.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								include/endpoints/api_v1_ws.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
#ifndef CORE_ENDPOINTS_API_V1_WS_H
 | 
			
		||||
#define CORE_ENDPOINTS_API_V1_WS_H
 | 
			
		||||
 | 
			
		||||
#include <router.h>
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
api_v1_ws_relays(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif /* CORE_ENDPOINTS_API_V1_WS_H */
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue