All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttp.client4.internal.SttpFile.scala Maven / Gradle / Ivy

There is a newer version: 4.0.0-M19
Show newest version
package sttp.client4.internal

/** A platform agnostic file abstraction.
  *
  * Different platforms have different file representations. Each platform should provide conversions in the
  * `FileCompanionExtensions` trait to convert between their supported representations and the `File` abstraction.
  */
abstract class SttpFile private[internal] (val underlying: Any) extends SttpFileExtensions {
  def name: String
  def size: Long
}

object SttpFile extends SttpFileCompanionExtensions {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy