Interface EthHttpClient

All Known Implementing Classes:
UrlEthHttpClient

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

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

    • get

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

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