Interface DefaultSender

All Superinterfaces:
AutoCloseable, Closeable

public interface DefaultSender extends Closeable
interface for the http connection to FeatBit API to send or receive the details of feature flags, user segments, events etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    postJson(String url, String jsonBody)
    send the json objects to FeatBit API in the post method

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • postJson

      String postJson(String url, String jsonBody)
      send the json objects to FeatBit API in the post method
      Parameters:
      url - the url to send json
      jsonBody - json string
      Returns:
      a response of FeatBit API