Package-level declarations

Types

Link copied to clipboard
data class ComposerBinaryBody(val fileName: String, val contentType: String, val bytes: ByteArray)
Link copied to clipboard
Link copied to clipboard
data class ComposerCollection(val id: String, val name: String, val request: ComposerRequest)
Link copied to clipboard
Link copied to clipboard

Deliberately small cURL importer. It tokenizes text only and never invokes a shell, expands environment variables, follows command substitutions, or reads files from the host device.

Link copied to clipboard
data class ComposerExecution(val requestMetadata: String, val response: ComposerResponse)
Link copied to clipboard
Link copied to clipboard
data class ComposerMultipartPart(val name: String, val value: String, val fileName: String? = null, val contentType: String? = null)
Link copied to clipboard
data class ComposerQueryParameter(val name: String, val value: String)
Link copied to clipboard
data class ComposerRequest(val method: String, val url: String, val headers: Map<String, String> = emptyMap(), val body: String? = null, val query: List<ComposerQueryParameter> = emptyList(), val bodyType: ComposerBodyType = if (body == null) ComposerBodyType.NONE else ComposerBodyType.TEXT, val formFields: Map<String, String> = emptyMap(), val multipartParts: List<ComposerMultipartPart> = emptyList(), val binaryBody: ComposerBinaryBody? = null, val timeoutMs: Int = DEFAULT_TIMEOUT_MS, val followRedirects: Boolean = true, val variables: List<ComposerVariable> = emptyList())
Link copied to clipboard
data class ComposerResponse(val statusCode: Int, val headers: Map<String, String> = emptyMap(), val body: String? = null, val durationMs: Long? = null)
Link copied to clipboard
fun interface ComposerTransport
Link copied to clipboard
data class ComposerVariable(val name: String, val value: String, val secret: Boolean = false)
Link copied to clipboard
class InMemoryComposerCollectionStore(redaction: RedactionEngine = RedactionEngine(RedactionPolicy.default())) : ComposerCollectionStore

Ephemeral store; secret variable values are intentionally stripped before retaining a collection.

Link copied to clipboard
data class ResolvedComposerRequest(val method: String, val url: String, val headers: Map<String, String>, val body: String?, val bodyType: ComposerBodyType, val multipartParts: List<ComposerMultipartPart>, val binaryBody: ComposerBinaryBody?, val timeoutMs: Int, val followRedirects: Boolean)

Ephemeral request handed to the SDK-owned transport. Do not persist or expose it to the dashboard.

Link copied to clipboard
class UrlConnectionComposerTransport(maxResponseBytes: Int = DEFAULT_MAX_RESPONSE_BYTES) : ComposerTransport

SDK-owned transport for internal builds. It creates a fresh connection for every composer execution and never reads host application cookies, interceptors, or authentication state.