Class RequestBody


  • public class RequestBody
    extends Object
    A helper class to contain information about the request body - content-type and BodyPublisher to get the actual content. Now the methods match the OkHttp's same-named class but can be changed if needed.