20 lines
496 B
C#
20 lines
496 B
C#
using System;
|
|
using System.Net;
|
|
|
|
namespace Kreta.Client.ClientBase.Interface
|
|
{
|
|
internal interface IRestResult
|
|
{
|
|
string Result { get; set; }
|
|
HttpStatusCode StatusCode { get; set; }
|
|
string StatusDescription { get; set; }
|
|
Exception Exception { get; set; }
|
|
string ErrorMessage { get; set; }
|
|
byte[] RawBytes { get; set; }
|
|
}
|
|
|
|
internal interface IRestResult<TResponse> : IRestResult
|
|
{
|
|
TResponse Result { get; set; }
|
|
}
|
|
}
|