execute

# execute


abstract suspend fun execute(apiRequest: ApiRequest): MIRACLResult<String, HttpRequestExecutorException>

executes HTTP requests.

# Return

MIRACLResult<String, Error> which can be either MIRACLSuccess with value of type String (the response of the executed request) or MIRACLError with value of type java.lang.Error with a message.

# Parameters

apiRequest provides the required information for processing the HTTP request.