summaryrefslogtreecommitdiff
path: root/danmaku/dmpkg/raw.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-07-29 19:43:27 +0800
committerKeuin <[email protected]>2023-07-29 20:21:17 +0800
commit9b5c3913989754370bd7d03ac8cf2e32a6172afb (patch)
tree9e2caca8feb9ca5a9c14a96424d23e20db4314bc /danmaku/dmpkg/raw.go
parenta153bf02d1cf05f020d263e9670a76ae99cfeb02 (diff)
Simulate real web app cookies & WebSocket fields
Diffstat (limited to 'danmaku/dmpkg/raw.go')
-rw-r--r--danmaku/dmpkg/raw.go2
1 files changed, 1 insertions, 1 deletions
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,
},