Package-level declarations

Types

Link copied to clipboard
object Porthole

The debug-build entry point.

Link copied to clipboard

Starts the porthole on process start, before the first Activity exists.

Functions

Link copied to clipboard
fun OkHttpClient.Builder.installPorthole(existing: EventListener.Factory? = null, bodies: BodyCapture = BodyCapture.Off): OkHttpClient.Builder

Instruments an OkHttp client.

fun <T : RoomDatabase> RoomDatabase.Builder<T>.installPorthole(delegate: SupportSQLiteOpenHelper.Factory = FrameworkSQLiteOpenHelperFactory(), captureBindArgs: Boolean = true, maxArgChars: Int = 64): RoomDatabase.Builder<T>

Instruments a Room database.

Link copied to clipboard
fun portholeKtor(): ClientPlugin<Unit>

The Ktor client plugin, for clients not on the OkHttp engine.

Link copied to clipboard
fun portholeSqliteFactory(delegate: SupportSQLiteOpenHelper.Factory = FrameworkSQLiteOpenHelperFactory(), captureBindArgs: Boolean = true, maxArgChars: Int = 64): SupportSQLiteOpenHelper.Factory

The open-helper factory for anything built on androidx.sqlite: SQLDelight's AndroidSqliteDriver, Requery, or a hand-rolled helper.