-
public final class APIClient
-
-
Constructor Summary
Constructors Constructor Description APIClient(MetricsInterface metricsInterface, AttachmentsInterface attachmentsInterface)
-
Method Summary
Modifier and Type Method Description final UnitsendMetrics(MetricRequestBody metricRequestBody, Function1<Response<Object>, Unit> callback)final UnituploadAttachment(String url, Map<String, String> headerMap, File inputStream, Function1<Response<Unit>, Unit> callback)-
-
Constructor Detail
-
APIClient
APIClient(MetricsInterface metricsInterface, AttachmentsInterface attachmentsInterface)
-
-
Method Detail
-
sendMetrics
final Unit sendMetrics(MetricRequestBody metricRequestBody, Function1<Response<Object>, Unit> callback)
-
-
-
-