mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Log output response sizes
Visibility is the first step towards action. Or something.
This commit is contained in:
@ -38,7 +38,12 @@ namespace osu.Game.Online.API
|
|||||||
protected override void PostProcess()
|
protected override void PostProcess()
|
||||||
{
|
{
|
||||||
base.PostProcess();
|
base.PostProcess();
|
||||||
Response = ((OsuJsonWebRequest<T>)WebRequest)?.ResponseObject;
|
|
||||||
|
if (WebRequest != null)
|
||||||
|
{
|
||||||
|
Response = ((OsuJsonWebRequest<T>)WebRequest).ResponseObject;
|
||||||
|
Logger.Log($"{GetType()} finished with response size of {WebRequest.ResponseStream.Length:#,0} bytes");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void TriggerSuccess(T result)
|
internal void TriggerSuccess(T result)
|
||||||
|
Reference in New Issue
Block a user