StripeConnection
A wrapper for accessing a HttpURLConnection. Implements Closeable to simplify closing related resources.
Types
Link copied to clipboard
abstract class AbstractConnection<ResponseBodyType>(conn: HttpsURLConnection) : StripeConnection<ResponseBodyType>
Content copied to clipboard
Link copied to clipboard
Default StripeConnection that converts the ResponseStream to a String.
Link copied to clipboard
StripeConnection that writes the ResponseStream to a File.
Functions
Link copied to clipboard
abstract fun createBodyFromResponseStream(responseStream: InputStream?): ResponseBodyType?
Content copied to clipboard