TracyHttpRequestBody
Represents the body content of an HTTP request. It can either be a JSON payload or form data.
This sealed class is used as part of the TracyHttpRequest data structure to encapsulate the various types of data that can be transmitted as the body of an HTTP request.
Json: Represents a JSON body containing structured data.
FormData: Represents form-data typically used in multipart requests.
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun TracyHttpRequestBody.asRequestView(contentType: TracyContentType?, url: TracyHttpUrl): TracyHttpRequest