HttpRequestExecutor

HttpRequestExecutor


interface HttpRequestExecutor

HttpRequestExecutor is an interface providing pluggable networking layer of the MIRACLTrust SDK. If implemented and passed as an argument when initializing the MIRACLTrust SDK, you can provide your own HTTP request executor.

Functions

Name Summary
execute
abstract suspend fun execute(apiRequest: ApiRequest): MIRACLResult<String, MIRACLException>
executes HTTP requests.