blob: c2512911f352f17f9448793b82c35de41623eb0f [file] [edit]
# Copyright 2026 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from typing import Any, ClassVar, Final, Literal
from shared.protocol.base import BaseRequest
COMMAND_NAME: Final = "hello"
class HelloRequest(BaseRequest[dict[str, Any]]):
"""Initial handshake request to verify protocol version."""
command: Literal["hello"] = COMMAND_NAME
version: int
response_type: ClassVar[Any] = dict[str, Any]