Giter Club home page Giter Club logo

isemenkov / libpascurl Goto Github PK

View Code? Open in Web Editor NEW
75.0 10.0 21.0 661 KB

libPasCURL is delphi and object pascal wrapper around cURL library. Library for transferring data with URL syntax, supporting HTTP, HTTPS, FTP, FTPS, GOPHER, TFTP, SCP, SFTP, SMB, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP.

License: GNU General Public License v3.0

Pascal 100.00%
fpc freepascal pascal wrapper curl delphi delphi10 libpascurl pascal-bindings delphi-curl

libpascurl's People

Contributors

isemenkov avatar slicke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libpascurl's Issues

libpascurl.pas(625,24) Error: Identifier not found "sockaddr"

IDE : lazarus 2.2.2 (FPC : 3.2.2)
OS : Win10

libpascurl.pas(625,24) Error: Identifier not found "sockaddr".

fix:

  curl_sockaddr = record
    family : Integer;
    socktype : Integer;
    protocol : Integer;
    addrlen : Cardinal;         { addrlen was a socklen_t type before 7.18.0 }
                                { but it turned really ugly and painful on the }
                                { systems that lack this type }
    addr : {$IFDEF FPC}{$IFDEF WINDOWS}TSockAddr{$ELSE}sockaddr{$ENDIF}
      {$ELSE IFDEF DCC32 OR IFDEF DCC64}Pointer{$ENDIF};
  end; 

but, HTTPS is not supported.

RemoteConnect.exe -a -e https://www.bing.com

(******************************************************************************)
(*                                 libPasCURL                                 *)
(*                 object pascal wrapper around cURL library                  *)
(*                        https://github.com/curl/curl                        *)
(*                                                                            *)
(* Copyright (c) 2019 - 2020                                Ivan Semenkov     *)
(* https://github.com/isemenkov/libpascurl                  [email protected] *)
(*                                                          Ukraine           *)
(******************************************************************************)
                                   Url: https://www.bing.com/
                        Redirect count: 0
                          Content type:
                          Content size: Unknown
                   Content buffer size: 0 B
                            Total time: 00:03:29.241000
                      Name lookup time: 00:00:07.322000
                          Connect time: 00:00:08.352000
         Time until the transfer start: 00:00:00.000000
                   Start transfer time: 00:00:00.000000
                          HTTP version: HTTP_UKNOWN
                         Response code: HTTP_STATUS_UNKNOWN
                           Header size: 0 B
                        Download speed: 0 B/s
                          Request size: 0 B
                        Request method: GET

-=== Content ===-

curl_multi_info_read declaration

Please provide the declaration of function curl_multi_info_read in accordance with the documentation.

{ Now: }

  function curl_multi_info_read (multi_handle : CURLM;
    mdgs_in_queue : PInteger) : CURLMsg_rec; cdecl; external CurlLib;

{ Should be: }

  pCURLMsg_rec = ^CURLMsg_rec;

  function curl_multi_info_read (multi_handle : CURLM;
    mdgs_in_queue : PInteger) : pCURLMsg_rec; cdecl; external CurlLib;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.