RequestTExtensions

trait RequestTExtensions[U[_], T, -R]
class Object
trait Matchable
class Any
class RequestT[U, T, R]
RequestT[U, T, R]

Value members

Concrete methods

def body(file: File): RequestT[U, T, R]

If content type is not yet specified, will be set to application/octet-stream.

If content type is not yet specified, will be set to application/octet-stream.

If content length is not yet specified, will be set to the length of the given file.

def body(path: Path): RequestT[U, T, R]

If content type is not yet specified, will be set to application/octet-stream.

If content type is not yet specified, will be set to application/octet-stream.

If content length is not yet specified, will be set to the length of the given file.

def body[B : BodySerializer](b: B): RequestT[U, T, R]

If content type is not yet specified, will be set to application/octet-stream.

If content type is not yet specified, will be set to application/octet-stream.