PartialRequestExtensions

sttp.client4.PartialRequestExtensions

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait PartialRequestBuilder[PR, R]
class PartialRequest[T]
trait RequestBuilder[R]
trait GenericRequest[T, R]
class Request[T]
class StreamRequest[T, R]
class WebSocketRequest[F, T]
Show all
Self type
R

Members list

Value members

Concrete methods

def body(file: File): 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): 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