#.Curl.Proxy


Auth
p
i

Host
p
s

Password
p
s

Type
p
i

User
p
s

#.Curl.SSL


VerifyHost
p
b

VerifyPeer
p
b

#Curl
Stream

:Cancel
:


:Connect
:


:Error
:


:Finished
:


:Progress
:


:Read
:


_exit
M


_init
M


DefaultProxy
R
.Curl.Proxy

Peek
m
s

_free
m


_new
m


Async
p
b

BufferSize
p
i

Debug
p
b

Password
p
s

TargetFile
p
s

Timeout
p
i

URL
p
s

User
p
s

Downloaded
r
l

ErrorText
r
s

Proxy
r
.Curl.Proxy

SSL
r
.Curl.SSL

Status
r
i

TotalDownloaded
r
l

TotalUploaded
r
l

Uploaded
r
l

#FtpClient
Curl
C
_DefaultEvent
C
s
Read
_Group
C
s
Network
_IsControl
C
b
T
_IsVirtual
C
b
T
_Properties
C
s
URL=127.0.0.1:21,Async=True,Timeout=0,User,Password
Exec
m

(Commands)String[]
Get
m

[(TargetFile)s]
Put
m

(LocalFile)s
Stop
m


_free
m


_new
m


NoEPSV
p
b

#HttpClient
Curl
C
_DefaultEvent
C
s
Read
_Group
C
s
Network
_IsControl
C
b
T
_IsVirtual
C
b
T
_Properties
C
s
URL=127.0.0.1:80,User,Password,Auth=0,Async=True,Timeout=0,CookiesFile,UpdateCookies=FALSE,UserAgent=Gambas (gb.net.curl) HTTP/1.0
Download
M
s
(URL)s[(Headers)String[];]
CopyFrom
m

(HttpClient)Source
Get
m

[(Headers)String[];(TargetFile)s]
Head
m

[(Headers)String[]]
Post
m

(ContentType)s(Data)s[(Headers)String[];(TargetFile)s]
PostFile
m

(ContentType)s(Path)s[(Headers)String[];(TargetFile)s]
Put
m

(ContentType)s(Data)s[(Headers)String[];(TargetFile)s]
PutFile
m

(ContentType)s(Path)s[(Headers)String[];(TargetFile)s]
Stop
m


_free
m


_new
m


Auth
p
i

CookiesFile
p
s

Encoding
p
s

Redirect
p
b

UpdateCookies
p
b

UserAgent
p
s

Code
r
i

Headers
r
String[]

Reason
r
s

#Net


AbortedByCallback
C
i
-1042
Asynchronous
C
i
1
AuthAny
C
i
-17
AuthAnySafe
C
i
-18
AuthBasic
C
i
1
AuthDigest
C
i
2
AuthDigestIE
C
i
16
AuthGssNegotiate
C
i
4
AuthNone
C
i
0
AuthNtlm
C
i
8
AuthNtlmWb
C
i
32
BadContentEncoding
C
i
-1061
BadDownloadResume
C
i
-1036
BadFunctionArgument
C
i
-1043
ChunkFailed
C
i
-1088
ConvFailed
C
i
-1075
ConvRequired
C
i
-1076
FTPBadFileList
C
i
-1087
FTPPortFailed
C
i
-1030
FTPPretFailed
C
i
-1084
FTPUnableToGetHost
C
i
-1015
FTPUnableToRETRFile
C
i
-1019
FTPUnableToSetType
C
i
-1017
FTPUnableToUseRest
C
i
-1031
FTPWeird227Format
C
i
-1014
FTPWeirdPassReply
C
i
-1011
FTPWeirdPasvReply
C
i
-1013
FTPWeirdServerReply
C
i
-1008
FailedInit
C
i
-1002
FileSizeExceeded
C
i
-1063
FunctionNotFound
C
i
-1041
GotNothing
C
i
-1052
HTTPPostError
C
i
-1034
HttpReturnedError
C
i
-1022
InterfaceFailed
C
i
-1045
LoginDenied
C
i
-1067
OperationTimeout
C
i
-1028
OutOfMemory
C
i
-1027
PartialFile
C
i
-1018
PeerFailedVerification
C
i
-1060
ProxyHTTP
C
i
0
ProxySocks5
C
i
5
QuoteError
C
i
-1021
RangeError
C
i
-1033
ReadError
C
i
-1026
RecvError
C
i
-1056
RemoteAccessDenied
C
i
-1009
RemoteDiskFull
C
i
-1070
RemoteFileExists
C
i
-1073
RemoteFileNotFound
C
i
-1078
SSLCacert
C
i
-1060
SSLCacertBadFile
C
i
-1077
SSLCertProblem
C
i
-1058
SSLCipher
C
i
-1059
SSLConnectError
C
i
-1035
SSLCrlBadfile
C
i
-1082
SSLEngineInitFailed
C
i
-1066
SSLEngineNotFound
C
i
-1053
SSLEngineSetFailed
C
i
-1054
SSLIssuerError
C
i
-1083
SSLShutdownFailed
C
i
-1080
SendError
C
i
-1055
SendFailRewind
C
i
-1065
Synchronous
C
i
0
TooManyRedirects
C
i
-1047
URLMalformat
C
i
-1003
UnableToConnect
C
i
-1007
UnableToResolveHost
C
i
-1006
UnableToResolveProxy
C
i
-1005
UnsupportedProtocol
C
i
-1001
UploadFailed
C
i
-1025
WriteError
C
i
-1023
#Download

C
Unknown
C
i
0
Http
C
i
1
Ftp
C
i
2
NotReady
C
i
0
Ready
C
i
1
Downloading
C
i
2
Finish
C
i
3
Error
C
i
4
Key
r
s

Url
r
s

Type
r
i

State
r
i

ErrorText
r
s

Current
r
l

Size
r
l

Path
r
s

_Key
v
s

_Url
v
s

_Type
v
i

_Current
v
l

_Size
v
l

_State
v
i

_ErrorText
v
s

_Path
v
s

_GetClient
m
Curl

_GetHost
m
s

#DownloadManager

C
State
r
i

Size
r
l

Progress
r
f

MaxClient
p
i

Speed
r
i

Count
r
i

:Connect
:


:Error
:

(Key)s
:Progress
:


:Finish
:

(Key)s
:End
:


:Size
:

(Key)s
Add
m

(URL)s[(Key)s]
Clear
m


Start
m


Stop
m


GetSize_Progress
m


GetSize_Error
m


GetSize_Finished
m


Run_Timer
m


Client_Connect
m


Client_Progress
m


Client_Cancel
m


Client_Error
m


Client_Finished
m


_get
m
Download
(Key)s
#HttpForm
HttpClient
C
_IsControl
C
b

Add
m

(Field)s(Value)s
AddFile
m

(Field)s(Path)s[(Name)s]
Remove
m

(Field)s
_get
m
s
(Field)s
_put
m

(Value)s(Field)s
Clear
m


Submit
m


