HttpForm (gb.net.curl)

Desde 3.7

This class allows to forge an HTTP request equivalent to an HTML form post.

Esta clase hereda HttpClient.

Esta clase es instanciable.

Esta clase actúa como un array de lectura / escritura.

Inherited static properties
DefaultProxy   Return or set default proxy of all newly created HttpClient objects.

Inherited static methods
Download  

Inherited properties
Async   Returns or sets whether the FTP/HTTP request will be asynchronous.
Auth   Return or set the HTTP authentication mode to use.
Blocking   Returns or sets if the stream is blocking.
BufferSize   Return or set the preferred receive buffer size, between 0 and 512 KB.
ByteOrder   Returns or sets the byte order used to read or write binary data to the stream.
Code   Returns the HTTP Status Code sent by the server.
CookiesFile   Return or set the file that will be used for reading and storing cookies.
Debug   Return or set the debugging mode.
Downloaded   Return the number of bytes that have been downloaded.
Encoding   Return or set the "Accept-Encoding" HTTP header.
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   Return if a stream reached its end.
ErrorText   Return the error string associated with the error code returned by the curl library.
Handle   Returns the system file descriptor associated with this Stream.
Headers   Return the HTTP headers as a String array.
IsTerm   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  
NullTerminatedString   Return or set if strings are null-terminated when they are serialized.
Password   Returns or sets the password used for authorization.
Proxy   Returns a virtual object used for defining proxy parameters.
Reason   Return the HTTP reason string.
Redirect   Return or set if the HttpClient must follow HTTP redirections.
SSL   This virtual property allows to define the SSL properties of the CURL connection.
Status   Returns the status of the client.
Tag   Returns or sets the tag associated with the stream.
TargetFile   Return or set the target file used for download operations.
Term   Return a virtual object that allows to manage the terminal associated with the stream.
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.
UpdateCookies   Return or set if cookies must be updated. The default value is False.
Uploaded   Return the number of bytes that have been uploaded.
User   Returns or sets the user used for authorisation.
UserAgent   Returns or sets the UserAgent used to make the request.

Métodos
Add   Add a new field to the form.
AddFile   Upload a file through the form.
Clear   Clear the form contents.
Remove   Remove a field from the form.
Submit   Submit the form.

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.
CopyFrom   Fill the HttpClient object from the properties of another HttpClient object.
Drop   Drop the data that has been buffered since the last call to the Begin method.
Get   This method performs a call to the http server using the standard 'GET' method.
Head   This method performs a call to the http server using the standard 'HEAD' method.
Peek   Returns the contents of the internal stream buffer.
Post   This method performs a call to the http server using the standard 'POST' method.
PostFile   Send a file through a POST request.
Put   Send some data to a specific URL by using the "PUT" method.
PutFile   Send a file through a PUT request.
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.
Stop   Aborts the request.
Watch   Start or stop watching the stream file descriptor for reading or writing, after it has been opened.

Inherited 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.