C# 클래스 CurlSharp.CurlMulti

Implements the curl_multi_xxx API.
상속: IDisposable
파일 보기 프로젝트 열기: WarlaxZ/Jackett 1 사용 예제들

공개 메소드들

메소드 설명
AddHandle ( CurlEasy curlEasy ) : CurlMultiCode

Add an CurlEasy object.

CurlMulti ( ) : System

Constructor

Dispose ( ) : void

Cleanup unmanaged resources.

FdSet ( ) : CurlMultiCode

Set internal file desriptor information before calling Select.

InfoRead ( ) : CurlSharp.CurlMultiInfo[]

Obtain status information for a CurlMulti transfer. Requires CurlSharp be compiled with the libcurlshim helper.

Perform ( int &runningObjects ) : CurlMultiCode

Read/write data to/from each CurlEasy object.

RemoveHandle ( CurlEasy curlEasy ) : CurlMultiCode

Remove an CurlEasy object.

Select ( int timeoutMillis ) : int

Call select() on the CurlEasy objects.

StrError ( CurlMultiCode errorNum ) : String

Get a string description of an error code.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void
ensureHandle ( ) : void

메소드 상세

AddHandle() 공개 메소드

Add an CurlEasy object.
/// This is thrown if the native CurlMulti handle wasn't /// created successfully. ///
public AddHandle ( CurlEasy curlEasy ) : CurlMultiCode
curlEasy CurlEasy /// object to add. ///
리턴 CurlMultiCode

CurlMulti() 공개 메소드

Constructor
/// This is thrown /// if hasn't bee properly initialized. /// /// This is thrown if the native CurlMulti handle wasn't /// created successfully. ///
public CurlMulti ( ) : System
리턴 System

Dispose() 공개 메소드

Cleanup unmanaged resources.
public Dispose ( ) : void
리턴 void

FdSet() 공개 메소드

Set internal file desriptor information before calling Select.
/// This is thrown if the native CurlMulti handle wasn't /// created successfully. ///
public FdSet ( ) : CurlMultiCode
리턴 CurlMultiCode

InfoRead() 공개 메소드

Obtain status information for a CurlMulti transfer. Requires CurlSharp be compiled with the libcurlshim helper.
/// This is thrown if the native CurlMulti handle wasn't /// created successfully. ///
public InfoRead ( ) : CurlSharp.CurlMultiInfo[]
리턴 CurlSharp.CurlMultiInfo[]

Perform() 공개 메소드

Read/write data to/from each CurlEasy object.
/// This is thrown if the native CurlMulti handle wasn't /// created successfully. ///
public Perform ( int &runningObjects ) : CurlMultiCode
runningObjects int /// The number of objects still in process is /// written by this function to this reference parameter. ///
리턴 CurlMultiCode

RemoveHandle() 공개 메소드

Remove an CurlEasy object.
/// This is thrown if the native CurlMulti handle wasn't /// created successfully. ///
public RemoveHandle ( CurlEasy curlEasy ) : CurlMultiCode
curlEasy CurlEasy /// object to remove. ///
리턴 CurlMultiCode

Select() 공개 메소드

Call select() on the CurlEasy objects.
/// This is thrown if the native CurlMulti handle wasn't /// created successfully. ///
public Select ( int timeoutMillis ) : int
timeoutMillis int /// The timeout for the internal select() call, /// in milliseconds. ///
리턴 int

StrError() 공개 메소드

Get a string description of an error code.
public StrError ( CurlMultiCode errorNum ) : String
errorNum CurlMultiCode /// The for which to obtain the error /// string description. ///
리턴 String