SttpFile

abstract class SttpFile extends SttpFileExtensions

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.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def name: String
def size: Long

Inherited methods

def readAsByteArray: Array[Byte]
Inherited from:
SttpFileExtensions
def readAsString: String
Inherited from:
SttpFileExtensions
def toFile: File
Inherited from:
SttpFileExtensions
def toPath: Path
Inherited from:
SttpFileExtensions

Concrete fields

val underlying: Any