Line data Source code
1 : /*
2 : * Packge : Ethereum
3 : * Author : S. Hamblett <steve.hamblett@linux.com>
4 : * Date : 10/011/2017
5 : * Copyright : S.Hamblett
6 : *
7 : * Provides a common interface for Ethereum to connect over HTTP,
8 : * allowing for different HTTP adapters to be used.
9 : */
10 :
11 : part of ethereum;
12 :
13 : abstract class EthereumINetworkAdapter {
14 0 : EthereumINetworkAdapter();
15 :
16 : /// Processes the HTTP request returning the HTTP response as
17 : /// a map
18 : Future<Map> httpRequest(Uri uri, Map request);
19 : }
|