C# 클래스 CurlSharp.CurlShare

This class provides an infrastructure for serializing access to data shared by multiple CurlEasy objects, including cookie data and Dns hosts. It implements the curl_share_xxx API.
상속: IDisposable
파일 보기 프로젝트 열기: WarlaxZ/Jackett 1 사용 예제들

공개 메소드들

메소드 설명
CurlShare ( ) : System

Constructor

Dispose ( ) : void

Cleanup unmanaged resources.

SetOpt ( CurlShareOption option, Object parameter ) : CurlShareCode

Set options for this object.

StrError ( CurlShareCode errorNum ) : String

Return a String description of an error code.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void
EnsureHandle ( ) : void
GetHandle ( ) : IntPtr
LockDelegate ( int data, int access, IntPtr userPtr ) : void
UnlockDelegate ( int data, IntPtr userPtr ) : void
installDelegates ( ) : void
setLastError ( CurlShareCode code, CurlShareOption opt ) : void
setShareOption ( CurlShareOption option, CurlLockData value ) : CurlShareCode

메소드 상세

CurlShare() 공개 메소드

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

Dispose() 공개 메소드

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

SetOpt() 공개 메소드

Set options for this object.
/// This is thrown if /// the native share handle wasn't created successfully. ///
public SetOpt ( CurlShareOption option, Object parameter ) : CurlShareCode
option CurlShareOption /// One of the values in the /// enumeration. ///
parameter Object /// An appropriate object based on the value passed in the /// option argument. See /// for more information about the appropriate parameter type. ///
리턴 CurlShareCode

StrError() 공개 메소드

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