blob: 836b5b4d67aca62e82454a0a220a71e1f679e519 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/stllike/string.h>
#include <map>
namespace vespalib {
struct JsonGetHandler {
virtual vespalib::string get(const vespalib::string &host,
const vespalib::string &path,
const std::map<vespalib::string,vespalib::string> ¶ms) const = 0;
virtual ~JsonGetHandler() {}
};
} // namespace vespalib
|