This repository has been archived on 2026-05-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
utf 1fe4783d94 feat: add KeepAlive packet
NGINX really doesn't like it when the client doesn't send messages
for a while. This prevents it from closing the connection.
2023-07-15 13:20:12 +02:00

23 lines
712 B
Protocol Buffer

syntax = "proto3";
import "./Authentication.proto";
import "./Message.proto";
import "./PublishDiscover.proto";
import "./KeepAlive.proto";
// Client <-> Server
message Container {
required uint32 id = 1;
oneof message {
AuthenticationRequest AuthenticationRequest = 2;
AuthenticationResponse AuthenticationResponse = 3;
Message Message = 4;
PublishRequest PublishRequest = 5;
PublishResponse PublishResponse = 6;
DiscoverRequest DiscoverRequest = 7;
DiscoverResponse DiscoverResponse = 8;
KeepAlive KeepAlive = 9;
}
}