aboutsummaryrefslogtreecommitdiffstats
path: root/example/TestResponder.h
blob: 80af60ba2d384c0f0474d4b760d83c3554d809fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (C) 2012 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
 *
 * See COPYING for license information.
 *
 */

#ifndef TESTRESPONDER_H
#define TESTRESPONDER_H

#include <QObject>
#include "JsonScgiServer.h"
#include "JsonScgiPeer.h"

class TestResponder : public QObject
{
	Q_OBJECT

public:
	TestResponder();

private slots:
	void webRequest(const QUrl &url, JsonScgiServer::Session &session, const QVariantMap &request, JsonScgiPeer &peer);
};

#endif // TESTRESPONDER_H