BodyDsl
DSL for body-like objects, i.e. objects that contain a "content" property.
Inheritors
Properties
Link copied to clipboard
ContentType object for application/x-www-form-urlencoded
Link copied to clipboard
ContentType object for application/json
Link copied to clipboard
ContentType object for text/plain
Link copied to clipboard
ContentType object for application/xml
Functions
Link copied to clipboard
Creates a content entry for this content type (the string receiver) and body (the builder configured by the lambda). See MediaTypeDsl for more information on what you can do in the lambda.
Link copied to clipboard
Creates a content entry for this content type and body. See MediaTypeDsl for more information on what you can do in the lambda.
Creates content entries for each of the provided content types with the same body. See MediaTypeDsl for more information on what you can do in the lambda.