Esempio n. 1
0
 public static void OnDebug(CurlInfoType infoType, string msg, int size, object extraData)
 {
     // print out received data only
     if (infoType == CurlInfoType.DataIn)
     {
         WriteLine(msg);
     }
 }
Esempio n. 2
0
 public static void OnDebug(CurlInfoType infoType, String msg, Object extraData)
 {
     // print out received data only
     if (infoType == CurlInfoType.DataIn)
     {
         Console.WriteLine(msg);
     }
 }
Esempio n. 3
0
        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;
            }
        }
Esempio n. 4
0
 public static void OnDebug(CurlInfoType infoType, String msg, Object extraData)
 {
     Console.WriteLine(msg);
 }
Esempio n. 5
0
 public static void OnDebug(CurlInfoType infoType, String msg, Object extraData)
 {
     Console.WriteLine(msg);
 }
Esempio n. 6
0
 public static void OnDebug(CurlInfoType infoType, String msg, Object extraData)
 {
     // print out received data only
     if (infoType == CurlInfoType.DataIn)
         Console.WriteLine(msg);
 }
Esempio n. 7
0
 private void OnDebug(CurlInfoType infoType, string msg, int size, object extraData)
 {
     LogLocal.log().SaveLog(new LogEntity("CURL-DEBUG:" + msg, LogType.Plat, LogLevel.DEBUG));
 }
Esempio n. 8
0
 public static void OnDebug(CurlInfoType infoType, string msg, int size, object extraData) => WriteLine(msg);