Stats.h
Go to the documentation of this file.
1 
20 #pragma once
21 
22 #include <stdint.h>
23 #include <ArduinoJson6.h>
24 
25 namespace Hue
26 {
27 struct Stats {
28  struct {
35  } request;
36  struct {
38  size_t size;
39  } response;
40  struct {
45  } error;
46 
47  void serialize(JsonObject json) const;
48 };
49 
50 } // namespace Hue
uint16_t unauthorizedUser
Definition: Stats.h:44
Definition: Bridge.h:29
uint16_t getDeviceInfo
Definition: Stats.h:33
uint16_t ignored
Requests not starting with /api.
Definition: Stats.h:31
size_t size
Total size of response data.
Definition: Stats.h:38
void serialize(JsonObject json) const
uint16_t root
eRequests handled by root UPnP device
Definition: Stats.h:30
struct Hue::Stats::@46 response
Definition: Stats.h:27
struct Hue::Stats::@45 request
Json json
uint16_t count
Total number of HTTP requests.
Definition: Stats.h:29
uint16_t methodNotAvailable
Definition: Stats.h:43
uint16_t resourceNotAvailable
Definition: Stats.h:42
struct Hue::Stats::@47 error
uint16_t getAllDeviceInfo
Definition: Stats.h:32
uint16_t setDeviceInfo
Definition: Stats.h:34