FileUploadRequest
open class FileUploadRequest(fileParams: StripeFileParams, options: ApiRequest.Options, appInfo: AppInfo? = null, boundary: String = createBoundary()) : StripeRequest
A StripeRequest for uploading a file using MimeType.MultipartForm.
Constructors
Link copied to clipboard
constructor(fileParams: StripeFileParams, options: ApiRequest.Options, appInfo: AppInfo? = null, boundary: String = createBoundary())
Properties
Link copied to clipboard
Link copied to clipboard
The type(Get/Post/Delete) of this request.
Link copied to clipboard
The MimeType of this request, determines the header and body format for a POST request
Link copied to clipboard
Additional HTTP headers attached if this is a POST request
Link copied to clipboard
Link copied to clipboard
A range of HTTP response code indicating this request should be retried
Link copied to clipboard
Whether the response should be cached or not
Functions
Link copied to clipboard
Writes the body of a POST request with OutputStream, left empty for non-POST requests