HttpSender

constructor(config: CoreConfiguration, method: HttpSender.Method?, type: StringFormat?, formUri: String? = null)

Parameters

config

AcraConfig declaring the

method

HTTP Method to be used to send data. Currently only Method.POST and Method.PUT are available. If Method.PUT is used, the ReportField.REPORT_ID is appended to the formUri to be compliant with RESTful APIs.

type

StringFormat of encoding used to send the report body. StringFormat.KEY_VALUE_LIST is a simple Key/Value pairs list as defined by the application/x-www-form-urlencoded mime type.