RequestFactory - DataDog/dd-sdk-android GitHub Wiki
fun interface RequestFactory
Factory used to build requests from the batches stored.
Types
Functions
create
abstract fun create(context: DatadogContext, batchData: List<RawBatchEvent>, batchMetadata: ByteArray?): Request?
Creates a request for the given batch.
Parameters
context | Datadog SDK context. |
batchData | Raw data of the batch. |
batchMetadata | Raw metadata of the batch. |
Throws
Exception | in case the request could not be created. |