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

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

There is a newer version: 3.10.1
Show newest version
package sttp.client3.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