Skip to content

Instantly share code, notes, and snippets.

View Partyschaum's full-sized avatar

Hauke Stange Partyschaum

View GitHub Profile
class THttpClientOfferingRawRequest : TTransport {
private var url: URL? = null
private val requestBuffer = ByteArrayOutputStream()
private var inputStream: InputStream? = null
private var connectTimeout = 0
private var readTimeout = 0
private var customHeaders: MutableMap<String, String>? = null
private var host: HttpHost? = null
private var client: HttpClient? = null