MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / RegisteredMessage

Class RegisteredMessage

relay/protocol.py:119–127  ·  view source on GitHub ↗

Registration response

Source from the content-addressed store, hash-verified

117
118
119class RegisteredMessage(Message):
120 """Registration response"""
121
122 model_config = ConfigDict(frozen=True)
123
124 type: Literal["REGISTERED"] = "REGISTERED"
125 success: bool = True
126 heartbeat_interval_ms: int = Field(default=5000, gt=0)
127 error: dict[str, str] | None = None
128
129
130class StatusMessage(Message):

Callers 3

test_success_responseMethod · 0.90
test_error_responseMethod · 0.90

Calls

no outgoing calls

Tested by 2

test_success_responseMethod · 0.72
test_error_responseMethod · 0.72