Interface EthHttpClient

All Known Implementing Classes:
JdkEthHttpClient, UrlEthHttpClient

public interface EthHttpClient
Http Client interface
Since:
31.10.2018
  • Method Summary

    Modifier and Type
    Method
    Description
    get(@NotNull URI uri)
    Performs a Http GET request
    post(@NotNull URI uri, byte[] body)
    Performs a Http POST request
  • Method Details

    • get

      EthResponse get(@NotNull @NotNull URI uri)
      Performs a Http GET request
      Parameters:
      uri - as string
      Returns:
      result as string
    • post

      EthResponse post(@NotNull @NotNull URI uri, byte[] body)
      Performs a Http POST request
      Parameters:
      uri - as string
      body - to post
      Returns:
      result as string