GithubHelp home page GithubHelp logo

marcianobarros20 / 4d-plugin-curl-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from miyako/4d-plugin-curl

0.0 2.0 0.0 13.15 MB

4D implementation of curl

C 68.00% C++ 27.83% Objective-C 3.59% HTML 0.58%

4d-plugin-curl-1's Introduction

4d-plugin-curl

4D implementation of curl

obsolete-word-black-frame-word-obsolete-word-black-frame-d-rendering-123942590

Platform

carbon cocoa win32 win64

Version

Syntax

error:=cURL (url;names;values;in;out;info)
Parameter Type Description
url TEXT Request URL (in)
names ARRAY LONGINT Option names (in)
values ARRAY TEXT Option values (in)
in BLOB Request data (in)
out BLOB Response data (out)
info TEXT Information in JSON (out)
error LONGINT Error code
cURL ARRAY (url;names;values;in;out;info;error)
Parameter Type Description
url ARRAY TEXT Request URL (in)
names ARRAY LONGINT Option names (in)
values ARRAY TEXT Option values (in)
in ARRAY BLOB Request data (in)
out ARRAY BLOB Response data (out)
info ARRAY TEXT Information in JSON (out)
error ARRAY LONGINT Error code

Note: The following options are not support with cURL ARRAY:

  • CURLOPT_WRITEDATA
  • CURLOPT_READDATA
  • CURLOPT_HTTPPOST_FILE
  • CURLOPT_HTTPPOST

The following options are returned in info:

conditionUnmet
contentLengthUpload
rtspClientCseq
rtspServerCseq
rtspCseqRecv
lastSocket
primaryPort
localPort
contentLengthDownload
connectCode
fileTime
totalTime
requestSize
headerSize
speedUpload
speedDownload
sizeDownload
sizeUpload
httpAuthAvail
proxyAuthAvail
osErrNo
numConnects
responseCode
nameLookupTime
connectTime
appConnectTime
preTransferTime
startTransferTime
redirectTime
sslVerifyResult
redirectCount
effectiveUrl
localIp
contentType
primaryIp
redirectUrl
ftpEntryPath
rtspSessionId
escaped:=cURL Escape url (url)
unescaped:=cURL Unescape url (url)
Parameter Type Description
url TEXT URL (in)
escaped TEXT Processed URL
unescaped TEXT Processed URL
version:=cURL Get version
Parameter Type Description
version TEXT Library version
success:=cURL Get date (date;time)
Parameter Type Description
date TEXT Date string (in)
time LONGINT Number of seconds since the Epoch, January 1st 1970 00:00:00 in the UTC time zone (out)
success LONGINT 0 on error, 1 on success
path:=cURL Get executable
Parameter Type Description
path TEXT Path to command line program inside the plugin

Returns the path to the curl executable embedded in the plugin. You can use this with LAUNCH EXTERNAL PROCESS.

version:=cURL Get version
Parameter Type Description
version TEXT
Protocol Mac OS X Windows
dict
file
ftp
ftps
gopher
http
https
imap
imaps
ldap
ldaps
pop3
pop3s
rtsp
scp
sftp
smtp
smtps
telnet
tftp
Feature Mac OS X Windows
IDN
IPv6
Largefile
NTLM
SSL
libz

Remarks

On Mac, SSH2 is linked to the system OpenSSL located at /usr/lib/, not the one embedded in the plugin. This is to avoid crash with SFTP.

On Windows, OPENSSL (LIBEAY and LIBSSL) and LIBSSH2 are statically linked to LIBCURL, to avoid collision with the DLL included in 4D itself.

LIBCURL is modified so that it will yield to 4D during a long operation (easy.c).

4d-plugin-curl-1's People

Contributors

miyako avatar

Watchers

 avatar  avatar

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.