From 9b5c3913989754370bd7d03ac8cf2e32a6172afb Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 29 Jul 2023 19:43:27 +0800 Subject: Simulate real web app cookies & WebSocket fields --- danmaku/dmpkg/raw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'danmaku/dmpkg/raw.go') diff --git a/danmaku/dmpkg/raw.go b/danmaku/dmpkg/raw.go index 34cd2e6..6de10d7 100644 --- a/danmaku/dmpkg/raw.go +++ b/danmaku/dmpkg/raw.go @@ -37,7 +37,7 @@ func NewPlainExchange(operation Operation, body interface{}) (exc DanmakuExchang DanmakuExchangeHeader: DanmakuExchangeHeader{ Length: uint32(length), HeaderLength: HeaderLength, - ProtocolVer: ProtoPlainJson, + ProtocolVer: ProtoMinimal, Operation: operation, SequenceId: SequenceId, }, -- cgit v1.2.3