interface Transport
Instance of this interface responsible for making api calls. There are HttpUrlTransport
comes with this api by default. Pass it as a parameter if you want to use HTTP/HTTPS as network layer.
User: Kirill, Date: 13.09.13 13:40
abstract fun closeConnection(): Unit |
|
abstract fun invoke(httpMethod: HttpMethod!, uri: String!, authenticaton: String!, eTag: String!, mimeType: String!, body: Any!, acceptLanguage: Locale!): Response! |
|
abstract fun setConnectTimeout(connectTimeout: Int): Unit |
|
abstract fun setReadTimeout(readTimeout: Int): Unit |
open class HttpUrlDeprecatedTransport : Transport
Provides HTTP/HTTPS network layer for server api. |
|
class HttpUrlTransport : Transport
Provides HTTP/HTTPS network layer for server api. |