C# Class Jackett.CurlHelper

Show file Open project: Jackett/Jackett

Public Properties

Property Type Description
OnErrorMessage ErrorMessage

Public Methods

Method Description
Combine ( ) : byte[]
GetAsync ( string url, string cookies = null, string referer = null, string>.Dictionary headers = null ) : Task
PerformCurl ( CurlRequest curlRequest ) : CurlResponse
PerformCurlAsync ( CurlRequest curlRequest ) : Task
PostAsync ( string url, string>.IEnumerable formData, string cookies = null, string referer = null, string>.Dictionary headers = null, string rawPostData = null ) : Task

Method Details

Combine() public static method

public static Combine ( ) : byte[]
return byte[]

GetAsync() public static method

public static GetAsync ( string url, string cookies = null, string referer = null, string>.Dictionary headers = null ) : Task
url string
cookies string
referer string
headers string>.Dictionary
return Task

PerformCurl() public static method

public static PerformCurl ( CurlRequest curlRequest ) : CurlResponse
curlRequest CurlRequest
return CurlResponse

PerformCurlAsync() public static method

public static PerformCurlAsync ( CurlRequest curlRequest ) : Task
curlRequest CurlRequest
return Task

PostAsync() public static method

public static PostAsync ( string url, string>.IEnumerable formData, string cookies = null, string referer = null, string>.Dictionary headers = null, string rawPostData = null ) : Task
url string
formData string>.IEnumerable
cookies string
referer string
headers string>.Dictionary
rawPostData string
return Task

Property Details

OnErrorMessage public static property

public static ErrorMessage OnErrorMessage
return ErrorMessage