This commit is contained in:
JustArchi
2021-01-04 15:32:28 +01:00
parent 9eebd2e6e8
commit e45f06debf

View File

@@ -1123,19 +1123,13 @@ namespace ArchiSteamFarm {
[PublicAPI]
public string? Content { get; }
internal StringResponse(HttpResponseMessage httpResponseMessage, string content) : this(httpResponseMessage) {
internal StringResponse(HttpResponseMessage httpResponseMessage, string content) : base(httpResponseMessage) {
if (httpResponseMessage == null) {
throw new ArgumentNullException(nameof(httpResponseMessage));
}
Content = content ?? throw new ArgumentNullException(nameof(content));
}
internal StringResponse(HttpResponseMessage httpResponseMessage) : base(httpResponseMessage) {
if (httpResponseMessage == null) {
throw new ArgumentNullException(nameof(httpResponseMessage));
}
}
}
public sealed class XmlDocumentResponse : BasicResponse {