Curl

Curl (gb.net.curl)

This class is the parent class of FtpClient, HttpClient and DictClient.
This class inherits Stream in gb. This class is not creatable.
Static properties
DefaultProxy
Since 3.13
Returns or sets default proxy of all newly created HttpClient objects.
Properties
Async Returns or sets whether the FTP/HTTP request will be asynchronous.
BufferSize Returns or sets the preferred receive buffer size, between 0 and 512 KB.
ConnectTimeout
Since 3.22
Returns or sets the client connection timeout in seconds.
Debug Returns or sets the debugging mode.
Downloaded Returns the number of bytes that have been downloaded.
ErrorText Return the error string associated with the error code returned by the curl library.
Password Returns or sets the password used for authorization.
Proxy Returns a virtual object used for defining proxy parameters.
SSL This virtual property allows to define the SSL properties of the CURL connection.
Status Returns the status of the client.
TargetFile Return or set the target file used for download operations.
Timeout Returns or sets the client timeout in seconds.
TotalDownloaded Returns the total number of bytes that are expected to be downloaded.
TotalUploaded Returns the total number of bytes that are expected to be uploaded.
URL Return or set the URL of the resource to download.
Uploaded Return the number of bytes that have been uploaded.
User Returns or sets the user used for authorisation.
Inherited properties
Blocking Returns or sets if the stream is blocking.
ByteOrder Returns or sets the byte order used to read or write binary data to the stream.
EndOfFile This property signals whether the last use of LINE INPUT reached the end of file, instead of reading a full line with an end-of-line character.
EndOfLine Return or set the newline separator used by this stream.
Eof
Since 3.14
Return if a stream reached its end.
Handle Returns the system file descriptor associated with this Stream.
IsTerm
Since 3.9
Return if a stream is associated with a terminal.
Lines Returns a virtual object that allows you to enumerate a stream line by line.
NoShare
Since 3.19
NullTerminatedString
Since 3.15
Return or set if strings are null-terminated when they are serialized.
Tag Returns or sets the tag associated with the stream.
Term
Since 3.9
Return a virtual object that allows to manage the terminal associated with the stream.
Methods
Get Retrieve a file from the server.
Peek Returns the contents of the internal stream buffer.
Stop Stop the current asynchronous request.
Inherited methods
Begin Start to buffer data written to the stream, so that everything will be sent when the Send method is called.
Close Closes the stream.
Drop Drop the data that has been buffered since the last call to the Begin method.
ReadLine Read a line of text from the stream, like the LINE INPUT instruction.
Send Send all the data, in one shot, since the last call to Begin.
Watch Start or stop watching the stream file descriptor for reading or writing, after it has been opened.
Events
Cancel This event is raised when a request has been cancelled.
Connect Raised when the connection is established.
Error Raised when there was an error returned by the CURL library.
Finished Raised when a command terminates correctly.
Progress This event is raised periodically when something is downloaded or uploaded.
Read Raised when there is some data received.

AltStyle によって変換されたページ (->オリジナル) /