Files
NScrapy/NScrapy.Infra/IRequest.cs

19 lines
462 B
C#

using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
namespace NScrapy.Infra
{
public interface IRequest
{
string URL { get; set; }
HttpClient Client { get; set; }
ISpider RequestSpider { get; set; }
Action<IResponse> Callback { get; set; }
HttpMethod Method { get; set; }
Dictionary<string, string> FormData {get;set;}
string Cookies { get; set; }
}
}