starting with io

develop
Timo Bryant 2023-12-22 00:39:10 +01:00
parent 1ef987f611
commit d973262dbd
4 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,3 @@
# This file was generated by the Gradle 'init' task.
# https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
org.gradle.parallel=true
org.gradle.caching=true

View File

@ -0,0 +1,3 @@
dependencies {
implementation("io.ktor:ktor-http-jvm:2.3.7")
}

View File

@ -0,0 +1,11 @@
package de.itkl.io.interfaces
import io.ktor.http.*
import java.io.InputStream
import java.io.InputStreamReader
interface Resource {
val filename: String
val contentType: ContentType
fun read(): InputStream
}

View File

@ -0,0 +1 @@
package de.itkl.io