retrofit / retrofit2 / Call / execute

execute

abstract fun execute(): Response<T>!

Synchronously send the request and return its response.

Exceptions

IOException - if a problem occurred talking to the server.

RuntimeException - (and subclasses) if an unexpected error occurs creating the request or decoding the response.