Companion

object Companion

Properties

Link copied to clipboard

Default HTTP response sent to the browser after a successful redirect capture.

Functions

Link copied to clipboard

Creates a LocalhostBrowserRedirectHandler with a Java-friendly java.util.function.Consumer browser launcher.

fun create(port: Int, path: String, timeoutMs: Long, successResponse: String, browserLauncher: Consumer<String>): LocalhostBrowserRedirectHandler

Creates a LocalhostBrowserRedirectHandler with a custom timeout and Java-friendly java.util.function.Consumer browser launcher.