summaryrefslogtreecommitdiff
path: root/internal/packet
diff options
context:
space:
mode:
Diffstat (limited to 'internal/packet')
-rw-r--r--internal/packet/packet.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/packet/packet.go b/internal/packet/packet.go
index 9365d93..9d84486 100644
--- a/internal/packet/packet.go
+++ b/internal/packet/packet.go
@@ -77,6 +77,7 @@ func (e PacketType) IsSupported() bool {
}
}
+// True for all packets that a server may push passively to the client.
func (e PacketType) IsPush() bool {
switch e {
case PacketError, PacketSendMessage: