LCOV - code coverage report
Current view: top level - lib - ethereum_server_client.dart (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 3 3 100.0 %
Date: 2018-01-19 11:13:13 Functions: 0 0 -

          Line data    Source code
       1             : /*
       2             :  * Package : Ethereum
       3             :  * Author : S. Hamblett <steve.hamblett@linux.com>
       4             :  * Date   : 06/011/2017
       5             :  * Copyright :  S.Hamblett
       6             :  *
       7             :  * An instance of Ethereum specialised for use in the server.
       8             :  */
       9             : 
      10             : library ethereum_server_client;
      11             : 
      12             : import 'dart:io';
      13             : import 'dart:async';
      14             : import 'dart:convert';
      15             : import 'package:ethereum/ethereum.dart';
      16             : 
      17             : part 'src/adapters/ethereum_server_http_adapter.dart';
      18             : 
      19             : class EthereumServerClient extends Ethereum {
      20             :   static EthereumServerHTTPAdapter serverHttpAdapter =
      21             :   new EthereumServerHTTPAdapter();
      22             : 
      23           2 :   EthereumServerClient() : super(serverHttpAdapter);
      24             : 
      25             :   EthereumServerClient.withConnectionParameters(hostname, [port])
      26           1 :       : super.withConnectionParameters(
      27           1 :       serverHttpAdapter, hostname, Ethereum.rpcHttpScheme, port);
      28             : }

Generated by: LCOV version 1.12