TusProtocol

tus4s.core.TusProtocol
trait TusProtocol[F[_]] extends TusFinder[F]

Attributes

Graph
Supertypes
trait TusFinder[F]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Concatenate chunks into a final upload, may remove partial uploads.

Concatenate chunks into a final upload, may remove partial uploads.

Attributes

Configuration supported by this protocol implementation.

Configuration supported by this protocol implementation.

Attributes

Create a new upload, possibly empty.

Create a new upload, possibly empty.

Attributes

def delete(id: UploadId): F[Unit]

Delete an upload (finished or not)

Delete an upload (finished or not)

Attributes

def receive(id: UploadId, chunk: UploadRequest[F]): F[ReceiveResult]

Receive a chunk of data from the given offset.

Receive a chunk of data from the given offset.

Attributes

Inherited and Abstract methods

def find(id: UploadId, range: ByteRange): F[Option[FileResult[F]]]

Look up an upload and return its current state.

Look up an upload and return its current state.

Attributes

Inherited from:
TusFinder