toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-mcp-core
/
org.http4k.mcp.protocol.messages
/
McpProgress
/
Notification
Notification
@
JsonSerializable
data
class
Notification
(
val
progressToken
:
ProgressToken
,
val
progress
:
Int
,
val
total
:
Double
?
,
val
description
:
String
?
,
val
_meta
:
Meta
=
Meta.default
)
:
ServerMessage.Notification
,
ClientMessage.Notification
,
HasMeta
Members
Members & Extensions
Constructors
Notification
Link copied to clipboard
constructor
(
progressToken
:
ProgressToken
,
progress
:
Int
,
total
:
Double
?
,
description
:
String
?
,
_meta
:
Meta
=
Meta.default
)
Properties
_
meta
Link copied to clipboard
open
override
val
_meta
:
Meta
description
Link copied to clipboard
val
description
:
String
?
progress
Link copied to clipboard
val
progress
:
Int
progress
Token
Link copied to clipboard
val
progressToken
:
ProgressToken
total
Link copied to clipboard
val
total
:
Double
?
Functions
to
Json
Rpc
Link copied to clipboard
fun
McpNotification
.
toJsonRpc
(
method
:
McpRpc
)
:
MoshiNode