toolkit / com.sas.android.visualanalytics.sdk / HttpHandler / HttpRequest
HttpRequest
interface HttpRequest
Encapsulates an HTTP/HTTPS request.
Since 8.30
Types
| RequestContentEntry | sealed class RequestContentEntryA piece of content to send with a request. |
Properties
| contents | open val contents: List<HttpHandler.HttpRequest.RequestContentEntry>?The individual content parts of the request. This may be null or empty (for GET requests), have one entry (for a typical request), or have multiple entries (for multipart-form/data requests). |
| followRedirects | abstract val followRedirects: BooleanWhether the HTTP request should follow redirects. |
| headers | open val headers: List<Pair<String, String>>?Additional HTTP headers to include in the HTTP request. |
| method | abstract val method: StringThe HTTP method to use for the HTTP request. |
| url | abstract val url: StringThe URL to load as part of the HTTP request. |