HttpRequestExecutor

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.

interface HttpRequestExecutor

Functions

Name Summary
equals
Content
open operator override fun equals(other: Any?): Boolean


execute
Brief description




executes HTTP requests.




Content
abstract suspend fun execute(apiRequest: ApiRequest): MiraclResult<String, Error>


hashCode
Content
open override fun hashCode(): Int


toString
Content
open override fun toString(): String