use protobuf for clients with protocol > 1 (#52)
This commit is contained in:
@@ -8,6 +8,10 @@ func (v ProtocolVersion) SupportsPackedStreamId() bool {
|
||||
return v > 0
|
||||
}
|
||||
|
||||
func (v ProtocolVersion) SupportsProtobuf() bool {
|
||||
return v > 0
|
||||
}
|
||||
|
||||
func (v ProtocolVersion) HandlesDataPackets() bool {
|
||||
return v > 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user