SttpFile

sttp.client3.internal.SttpFile
See theSttpFile companion object
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.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def name: String
def size: Long

Inherited methods

def readAsByteArray: Array[Byte]

Attributes

Inherited from:
SttpFileExtensions
def readAsString: String

Attributes

Inherited from:
SttpFileExtensions
def toFile: File

Attributes

Inherited from:
SttpFileExtensions
def toPath: Path

Attributes

Inherited from:
SttpFileExtensions

Concrete fields

val underlying: Any