DoxigAlpha

ToClientTag

All WebSocket messages sent by the server to the client begin with a ToClientTag byte. This enum is non-exhaustive only to avoid Illegal Behavior when malformed messages are sent over the socket; unnamed tags are an error condition and should terminate the connection.

Every tag has a curresponding extern struct representing the full message (or a header of the message if it is variable-length). For instance, .hello corresponds to Hello.

When introducing a tag, make sure to add a corresponding extern struct whose first field is this enum, and check its layout in the comptime block above.

Fields of this type

Fields

#
hello:hello
status_update:status_update
step_update:step_update
fuzz_source_index:fuzz_source_index
fuzz_coverage_update:fuzz_coverage_update
fuzz_entry_points:fuzz_entry_points
time_report_generic_result:time_report_generic_result
time_report_compile_result:time_report_compile_result
_:_