SimTX API/Packets/ServerHealthRequest: Difference between revisions
Appearance
Clanker moved page SimTX API/Packets/ServerHealthRequest to SimTX API v24/Packets/ServerHealthRequest: Archive the v24 protocol reference Tag: New redirect |
Protocol v25 reference: ServerHealthRequest Tag: Removed redirect |
||
| Line 1: | Line 1: | ||
# | {{SimTX API navigation}} | ||
{{SimTX packet | |||
| name = ServerHealthRequest | |||
| frame = ClientFrame | |||
| field = 34 | |||
| member = health | |||
| direction = c2s | |||
| session = [[SimTX API/Control session|Control]] | |||
| roles = <code>ROLE_CONTROL</code>. | |||
| permission = None | |||
| reply = [[SimTX API/Packets/ServerHealthReport|ServerHealthReport]] | |||
| group = control | |||
| file = control.proto | |||
}} | |||
'''ServerHealthRequest''' asks for a [[SimTX API/Packets/ServerHealthReport|ServerHealthReport]]. It is a heavy request; status pages should poll it no more often than every few seconds. | |||
== Definition == | |||
<syntaxhighlight lang="protobuf"> | |||
message ServerHealthRequest { int64 request_id = 1; } | |||
</syntaxhighlight> | |||
== Fields == | |||
{| class="wikitable" | |||
! # !! Field !! Type !! Description | |||
|- | |||
| 1 || <code>request_id</code> || <code>int64</code> || Nonzero; echoed in the [[SimTX API/Packets/ServerHealthReport|ServerHealthReport]]. | |||
|} | |||
== See also == | |||
* [[SimTX API/Packets/ServerHealthReport|ServerHealthReport]] | |||
{{SimTX API navbox}} | |||
[[Category:SimTX API]] | |||
Latest revision as of 17:01, 24 October 2026
| Frame | ClientFrame, field 34
|
|---|---|
| Member | health
|
| Direction | Client → server |
| Session | Control |
| Roles | ROLE_CONTROL.
|
| Permission | None |
| Answered by | ServerHealthReport |
| Defined in | control.proto
|
ServerHealthRequest asks for a ServerHealthReport. It is a heavy request; status pages should poll it no more often than every few seconds.
Definition[edit | edit source]
message ServerHealthRequest { int64 request_id = 1; }
Fields[edit | edit source]
| # | Field | Type | Description |
|---|---|---|---|
| 1 | request_id |
int64 |
Nonzero; echoed in the ServerHealthReport. |