toolkit / com.sas.android.visualanalytics.sdk / HttpHandler / HttpRequest / RequestContentEntry
RequestContentEntry
sealed class RequestContentEntry
A piece of content to send with a request.
Parameters
contentType -
The value of the Content-Type header for this request part.
partName -
The name of the part if this is one entry in a multipart-form/data request.
Types
| Bytes | class Bytes : HttpHandler.HttpRequest.RequestContentEntryBytes content to send with a request. |
| Empty | class Empty : HttpHandler.HttpRequest.RequestContentEntryEmpty content to send with a request. |
| File | class File : HttpHandler.HttpRequest.RequestContentEntryFile content to send with a request. |
Properties
| contentType | val contentType: String |
The value of the Content-Type header for this request part.<br>```
<br> |
| [partName](part-name.html) | `val partName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?`
The name of the part if this is one entry in a multipart-form/data request.<br>``` <br> |
Inheritors
| Bytes | class Bytes : HttpHandler.HttpRequest.RequestContentEntryBytes content to send with a request. |
| Empty | class Empty : HttpHandler.HttpRequest.RequestContentEntryEmpty content to send with a request. |
| File | class File : HttpHandler.HttpRequest.RequestContentEntryFile content to send with a request. |