[experiment] use http2 for support server
This commit is contained in:
1 parent
69ffdb918b
commit
bc3a8dc170
2 files changed
+3
No files matched your search
@@ -511,6 +511,7 @@ namespace Innertube
|
||||
end if
|
||||
|
||||
request = HttpClient.Get(`${PLAYLET_SUPPORT_SERVER}/v1/sts`)
|
||||
request.UseHttp2()
|
||||
request.Cancellation(cancellation)
|
||||
request.TryCount(3)
|
||||
request.NoCache()
|
||||
@@ -588,6 +589,7 @@ namespace Innertube
|
||||
end if
|
||||
|
||||
request = HttpClient.PostJson(`${PLAYLET_SUPPORT_SERVER}/v2/decipher`, body)
|
||||
request.UseHttp2()
|
||||
request.Cancellation(cancellation)
|
||||
|
||||
request.LogCurlCommand(false)
|
||||
|
||||
Reference in new issue
Block a user