IoTeX client
src
api
base.h
1
#ifndef BASE_H
2
#define BASE_H
3
4
#include "host/host.h"
5
#include "http/http.h"
6
#include "IoTeXConstants.h"
7
8
namespace
iotex
9
{
10
namespace
api
11
{
12
class
Base
13
{
14
protected
:
15
Host
& host_;
16
IHTTP
* http_;
17
18
template
<
typename
HTTPType>
19
explicit
Base
(
Host
& host, HTTPType& http) : host_(host), http_(
static_cast<
IHTTP
*
>
(&http))
20
{
21
}
22
};
23
24
}
// namespace api
25
}
// namespace iotex
26
27
#endif
iotex::Host
Definition:
host.h:17
iotex::IHTTP
Definition:
http.h:40
iotex::api::Base
Definition:
base.h:13
iotex
Definition:
abi.h:12
Generated by
1.9.2