com.miracl.trust.network

# Package-level declarations

# Types

Name Summary
ApiException
sealed class ApiException : Exception
A class hierarchy that describes network issues.
ApiRequest
data class ApiRequest(val method: HttpMethod, val headers: Map<String, String>?, val body: String?, val params: Map<String, String>?, val url: String)
ApiRequest is a data class that keeps the main properties of a HTTP request.
ClientErrorData
data class ClientErrorData(val code: String, val info: String, val context: Map<String, String>?)
Client error representation which is returned by the MIRACL API.
DefaultHttpConnectionBuilder
class DefaultHttpConnectionBuilder : HttpURLConnectionBuilder
HttpMethod
enum HttpMethod : Enum<HttpMethod>
HttpMethod is a MIRACLTrust SDK representation of the HTTP methods
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.
HttpRequestExecutorException
sealed class HttpRequestExecutorException : Exception
A class hierarchy that describes network issues.
HttpURLConnectionBuilder
interface HttpURLConnectionBuilder