mirror of
https://github.com/C9Glax/tranga.git
synced 2025-09-10 11:58:19 +02:00
ToString Override for RequestResult
This commit is contained in:
@@ -24,4 +24,10 @@ public struct RequestResult
|
|||||||
this.hasBeenRedirected = hasBeenRedirected;
|
this.hasBeenRedirected = hasBeenRedirected;
|
||||||
redirectedToUrl = redirectedTo;
|
redirectedToUrl = redirectedTo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
return
|
||||||
|
$"{(int)statusCode} {statusCode.ToString()} {(hasBeenRedirected ? "Redirected: " : "")} {redirectedToUrl}";
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user