Report Sse Transaction
fun ResponseFilters.ReportSseTransaction(clock: Clock = Clock.systemUTC(), transactionLabeler: SseTransactionLabeler = { it }, recordFn: (SseTransaction) -> Unit): SseFilter
General reporting Filter for an ReportHttpTransaction. Pass an optional HttpTransactionLabeler to create custom labels. This is useful for logging metrics. Note that the passed function blocks the response from completing.
fun ResponseFilters.ReportSseTransaction(timeSource: () -> Instant, transactionLabeler: SseTransactionLabeler = { it }, recordFn: (SseTransaction) -> Unit): SseFilter
General reporting SseFilter for an ReportSseTransaction. Pass an optional SseTransactionLabeler to create custom labels. This is useful for logging metrics. Note that the passed function blocks the response from completing.