Table of Contents

Property CurlCode

Namespace
CurlUnity.Http

CurlCode

libcurl 返回的原始数值,给日志/issue 排查用。多数场景下是 easy 层的 CURLcode, 但 SetupFailed 里发生在 curl_multi_* 路径时为 CURLMcode。两者数值空间不同(如数值 2 在 easy 层是 CURLE_FAILED_INIT, 在 multi 层是 CURLM_OUT_OF_MEMORY),区分靠 ErrorKind

public int CurlCode { get; }

Property Value

int