public static void OnDebug(CurlInfoType infoType, string msg, int size, object extraData) { // print out received data only if (infoType == CurlInfoType.DataIn) { WriteLine(msg); } }
public static void OnDebug(CurlInfoType infoType, String msg, Object extraData) { // print out received data only if (infoType == CurlInfoType.DataIn) { Console.WriteLine(msg); } }
public static void OnDebug(CurlInfoType infoType, string message, int size, object extraData) { switch (infoType) { case CurlInfoType.Text: WriteLine($"== Info: {message.TrimEnd()}"); break; case CurlInfoType.HeaderOut: WriteLine($"=> Send header"); break; case CurlInfoType.HeaderIn: WriteLine($"<= Recv header"); break; case CurlInfoType.DataOut: WriteLine($"=> Send data"); break; case CurlInfoType.DataIn: WriteLine($"<= Recv data"); break; case CurlInfoType.SslDataOut: WriteLine($"=> Send SSL data"); break; case CurlInfoType.SslDataIn: WriteLine($"<= Recv SSL data"); break; case CurlInfoType.End: WriteLine("== End"); break; } }
public static void OnDebug(CurlInfoType infoType, String msg, Object extraData) { Console.WriteLine(msg); }
public static void OnDebug(CurlInfoType infoType, String msg, Object extraData) { // print out received data only if (infoType == CurlInfoType.DataIn) Console.WriteLine(msg); }
private void OnDebug(CurlInfoType infoType, string msg, int size, object extraData) { LogLocal.log().SaveLog(new LogEntity("CURL-DEBUG:" + msg, LogType.Plat, LogLevel.DEBUG)); }
public static void OnDebug(CurlInfoType infoType, string msg, int size, object extraData) => WriteLine(msg);