You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
854 B
38 lines
854 B
using System;
|
|
using NzbDrone.Common.Http;
|
|
|
|
namespace NzbDrone.Core.Indexers
|
|
{
|
|
public class IndexerResponse
|
|
{
|
|
private readonly IndexerRequest _indexerRequest;
|
|
private readonly HttpResponse _httpResponse;
|
|
|
|
public IndexerResponse(IndexerRequest indexerRequest, HttpResponse httpResponse)
|
|
{
|
|
_indexerRequest = indexerRequest;
|
|
_httpResponse = httpResponse;
|
|
}
|
|
|
|
public IndexerRequest Request
|
|
{
|
|
get { return _indexerRequest; }
|
|
}
|
|
|
|
public HttpRequest HttpRequest
|
|
{
|
|
get { return _httpResponse.Request; }
|
|
}
|
|
|
|
public HttpResponse HttpResponse
|
|
{
|
|
get { return _httpResponse; }
|
|
}
|
|
|
|
public String Content
|
|
{
|
|
get { return _httpResponse.Content; }
|
|
}
|
|
}
|
|
}
|