ktor-http / io.ktor.http.content / URIFileContent / <init>

<init>

URIFileContent(url: URL, contentType: ContentType = ContentType.defaultForFilePath(url.path)) URIFileContent(uri: URI, contentType: ContentType = ContentType.defaultForFilePath(uri.path))

Represents a content that is served from the specified uri