mirror of
https://github.com/xboxeer/NScrapy.git
synced 2026-10-29 04:17:45 +08:00
19 lines
462 B
C#
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; }
|
|
}
|
|
}
|