ktor
2.2.4
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
ktor-client-core
/
io.ktor.client.plugins.api
/
MonitoringEvent
Monitoring
Event
class
MonitoringEvent
<
Param
:
Any
,
Event
:
EventDefinition
<
Param
>
>
(
event
:
Event
)
:
ClientHook
<
(
Param
)
->
Unit
>
A shortcut hook for
HttpClient.monitor
subscription.
Constructors
Functions
Constructors
Monitoring
Event
Link copied to clipboard
fun
<
Event
:
EventDefinition
<
Param
>
>
MonitoringEvent
(
event
:
Event
)
Functions
install
Link copied to clipboard
open
override
fun
install
(
client
:
HttpClient
,
handler
:
(
Param
)
->
Unit
)
Specifies how to install a hook into
client
.