transformRequestBody

Specifies the block transformer for a request body.

This block is invoked for every HttpClient.request call. Here you should serialize body into OutgoingContent or return null if your transformation is not applicable.

Report a problem

Parameters

block

A transformation of request body.

See also