RequestTExtensions

sttp.client3.RequestTExtensions
trait RequestTExtensions[U[_], T, -R]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class RequestT[U, T, R]
Self type
RequestT[U, T, R]

Members list

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.

Attributes

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.

Attributes

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.

Attributes