context

fun context(provider: suspend (ServerRequest) -> CoroutineContext)

Allow to provide the default CoroutineContext, potentially dynamically based on the incoming ServerRequest.

Since

6.1

Parameters

provider

the CoroutineContext provider