mirror of
https://github.com/xboxeer/NScrapy.git
synced 2026-10-29 04:17:45 +08:00
20 lines
560 B
C#
20 lines
560 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Net.Http;
|
|
using System.Text;
|
|
|
|
namespace NScrapy.Infra
|
|
{
|
|
public class HttpRequest : IRequest
|
|
{
|
|
public string URL { get; set ; }
|
|
public HttpClient Client { get; set; }
|
|
public ISpider RequestSpider { get; set; }
|
|
public Action<IResponse> Callback { get; set; }
|
|
public HttpMethod Method { get; set; }
|
|
public Dictionary<string, string> FormData { get; set; }
|
|
public string Cookies { get; set; }
|
|
}
|
|
} |