本文整理汇总了C#中SafeCurlHandle类的典型用法代码示例。如果您正苦于以下问题:C# SafeCurlHandle类的具体用法?C# SafeCurlHandle怎么用?C# SafeCurlHandle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SafeCurlHandle类属于命名空间,在下文中一共展示了SafeCurlHandle类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DisposeAndClearHandle
public static void DisposeAndClearHandle(ref SafeCurlHandle curlHandle)
{
if (curlHandle != null)
{
curlHandle.Dispose();
curlHandle = null;
}
}
示例2: curl_easy_reset
public static extern void curl_easy_reset(
SafeCurlHandle curl);
示例3: curl_easy_setopt
public static extern int curl_easy_setopt(
SafeCurlHandle curl,
int option,
curl_ioctl_callback callback);
示例4: RegisterSslCtxCallback
public static extern CURLcode RegisterSslCtxCallback(
SafeCurlHandle curl,
SslCtxCallback callback,
ref SafeCallbackHandle callbackHandle);
示例5: EasyUnpause
public static extern CURLcode EasyUnpause(SafeCurlHandle easy);
示例6: EasyGetInfoLong
public static extern CURLcode EasyGetInfoLong(SafeCurlHandle handle, CURLINFO info, out long value);
示例7: EasySetOptionPointer
public static extern CURLcode EasySetOptionPointer(SafeCurlHandle curl, CURLoption option, SafeHandle value);
示例8: EasyGetInfoPointer
public static extern CURLcode EasyGetInfoPointer(SafeCurlHandle handle, CURLINFO info, out IntPtr value);
示例9: curl_easy_getinfo
public static extern int curl_easy_getinfo(
SafeCurlHandle handle,
int info,
out ulong value);
示例10: curl_easy_getinfo
public static extern int curl_easy_getinfo(
SafeCurlHandle curl,
int info,
ref long value); // Using a ref because it won't be populated on error
示例11: RegisterSeekCallback
public static extern void RegisterSeekCallback(
SafeCurlHandle curl,
SeekCallback callback,
IntPtr userPointer,
ref SafeCallbackHandle callbackHandle);
示例12: EasySetOptionLong
public static extern CURLcode EasySetOptionLong(SafeCurlHandle curl, CURLoption option, long value);
示例13: RegisterReadWriteCallback
public static extern void RegisterReadWriteCallback(
SafeCurlHandle curl,
ReadWriteFunction functionType,
ReadWriteCallback callback,
IntPtr userPointer,
ref SafeCallbackHandle callbackHandle);
示例14: RegisterDebugCallback
public static extern CURLcode RegisterDebugCallback(
SafeCurlHandle curl,
DebugCallback callback,
IntPtr userPointer,
ref SafeCallbackHandle callbackHandle);
示例15: EasyPerform
public static extern CURLcode EasyPerform(SafeCurlHandle curl);