com.miracl.trust.network

Package com.miracl.trust.network

Types

Name Summary
ApiRequest
Brief description




ApiRequest is a data class that keeps the main properties of a HTTP request.




Content
data class ApiRequest(method: HttpMethod, headers: Map<String, String>?, body: String?, params: Map<String, String>?, url: String)


HttpMethod
Brief description




HttpMethod is a MIRACLTrust SDK representation of the HTTP methods




Content
enum HttpMethod : Enum<HttpMethod>


HttpRequestExecutor
Brief description




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.




Content
interface HttpRequestExecutor