mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
toString().
This commit is contained in:
parent
7798fb02b9
commit
e110085e53
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ import javax.inject.Singleton
|
|||
|
||||
@Singleton
|
||||
class Http {
|
||||
class TypedFile(val mimeType: String, val file: File)
|
||||
class TypedFile(val mimeType: String, val file: File) {
|
||||
override fun toString() = file.name
|
||||
}
|
||||
|
||||
fun get(user: String?, password: String?, url: String) : Response {
|
||||
val client = OkHttpClient()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue