> ## Documentation Index
> Fetch the complete documentation index at: https://oom-wg.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 版本心跳

> 服务端每秒发送一条版本号文本信息



## AsyncAPI

````yaml apis/ssu/asyncapi.yml statusVersion
id: statusVersion
title: 版本心跳
description: 服务端每秒发送一条版本号文本信息
servers:
  - id: superuser
    protocol: ws
    host: '{host}:{port}'
    bindings: []
    variables:
      - id: host
        defaultValue: 127.0.0.1
        allowedValues: []
        examples: []
      - id: port
        defaultValue: '5355'
        allowedValues: []
        examples: []
address: /version
parameters: []
bindings: []
operations:
  - &ref_1
    id: receiveStatusVersion
    title: 接收版本心跳
    description: 每秒接收一次当前版本号文本
    type: receive
    messages:
      - &ref_2
        id: version
        contentType: text/plain
        payload:
          - type: string
            examples: &ref_0
              - 0.0.0-indev
            x-parser-schema-id: <anonymous-schema-1>
            name: 版本号文本消息
            description: 当前运行的 ShiroSU 版本
        headers: []
        jsonPayloadSchema:
          type: string
          examples: *ref_0
          x-parser-schema-id: <anonymous-schema-1>
        title: 版本号文本消息
        description: 当前运行的 ShiroSU 版本
        example: '"0.0.0-indev"'
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: version
    bindings: []
    extensions:
      - id: x-parser-unique-object-id
        value: statusVersion
sendOperations:
  - *ref_1
receiveOperations: []
sendMessages:
  - *ref_2
receiveMessages: []
extensions:
  - id: x-parser-unique-object-id
    value: statusVersion
securitySchemes:
  - id: wsTicket
    name: ws
    type: httpApiKey
    description: 通过 HTTP 请求 `POST /ws` 返回的一次性票证
    in: query
    extensions: []

````