MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
output_json.h
Go to the documentation of this file.
1 #include "output_http.h"
2 
3 
4 namespace Mist {
5  class OutJSON : public HTTPOutput {
6  public:
8  ~OutJSON();
9  static void init(Util::Config * cfg);
10  void onHTTP();
11  bool onFinish();
12  void sendNext();
13  void sendHeader();
14  protected:
15  std::string jsonp;
16  bool first;
17  };
18 }
19 
bool first
Definition: output_json.h:16
OutJSON(Socket::Connection &conn)
Definition: output_json.cpp:5
void sendNext()
Definition: output_json.cpp:18
Recording to file.
Definition: input.cpp:13
void sendHeader()
Definition: output_json.cpp:32
static void init(Util::Config *cfg)
Definition: output_json.cpp:8
std::string jsonp
Definition: output_json.h:15
Deals with parsing configuration from commandline options.
Definition: config.h:18
bool onFinish()
Definition: output_json.cpp:42
Definition: output_json.h:5
Definition: output_http.h:8
void onHTTP()
Definition: output_json.cpp:51
Mist::OutJSON mistOut
Definition: output_json.h:20
~OutJSON()
Definition: output_json.cpp:6
This class is for easy communicating through sockets, either TCP or Unix.
Definition: socket.h:47