FormSubmitter Class
Contents
[
Hide
]FormSubmitter class
This class allows to prepare specified HTMLFormElement, collects values from the form element, submit them to the remote server and receives a response.
public class FormSubmitter : IDisposable
Constructors
| Name | Description |
|---|---|
| FormSubmitter(FormEditor) | Initializes a new instance of the FormSubmitter class. |
| FormSubmitter(HTMLFormElement) | Initializes a new instance of the FormSubmitter class based on HTMLFormElement. |
| FormSubmitter(HTMLDocument, int) | Initializes a new instance of the FormSubmitter class based on HTMLFormElement selected by index from HTMLDocument. |
| FormSubmitter(HTMLDocument, string) | Initializes a new instance of the FormSubmitter class based on HTMLFormElement selected by identifier from HTMLDocument. |
Properties
| Name | Description |
|---|---|
| Action { get; set; } | Server-side form handler. See the action attribute definition in HTML 4.01. |
| Method { get; set; } | HTTP method [IETF RFC 2616] used to submit form. See the method attribute definition in HTML 4.01. |
Methods
| Name | Description |
|---|---|
| Dispose() | Releases unmanaged and - optionally - managed resources. |
| Submit() | Submits the form data to the server. |
| Submit(CookieContainer) | Submits the form data to the server with specified cookies. |
| Submit(ICredentials) | Submits the form data to the server with specified user credentials. |
| Submit(TimeSpan) | Submits the form data to the server with specified timeout. |
| Submit(ICredentials, CookieContainer) | Submits the form data to the server with specified user credentials and cookies. |
| Submit(ICredentials, TimeSpan) | Submits the form data to the server with specified user credentials and timeout. |
| Submit(TimeSpan, CookieContainer) | Submits the form data to the server with specified timeout and cookies. |
| Submit(ICredentials, TimeSpan, bool) | Submits the form data to the server with specified user credentials. |
| Submit(ICredentials, TimeSpan, CookieContainer) | Submits the form data to the server with specified user credentials, timeout and cookies. |
| Submit(ICredentials, TimeSpan, bool, CookieContainer) | Submits the form data to the server with specified user credentials and cookies. |
See Also
- namespace Aspose.Html.Forms
- assembly Aspose.HTML