PlainText

case PlainText(contentType: String, body: String) extends Body

Create a request body with a string.

Value parameters:
body

the content of the body

contentType

the content type of the body

Value members

Inherited methods

def html(body: String): Body
Inherited from:
Body
def json(body: String): Body
Inherited from:
Body
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def xml(body: String): Body
Inherited from:
Body