Manage your torrents from your Android device
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
462 B

package org.transdroid.connect
import com.burgstaller.okhttp.digest.Credentials
import org.transdroid.connect.clients.Client
/**
* Configuration settings to connect to a torrent client.
*/
data class Configuration(
val client: Client,
val baseUrl: String,
var endpoint: String? = null,
var credentials: Credentials? = null,
var loggingEnabled: Boolean = false) {
fun createClient() = client.createClient(this)
}