INetwork Interface |
Namespace: DotNetBrowser.Net
public interface INetwork : IAutoDisposable
The INetwork type exposes the following members.
| Name | Description | |
|---|---|---|
| AcceptLanguage |
Gets or sets the Accept-Language request header value.
| |
| AuthenticateHandler |
Gets or sets a handler that is used when the website requests authentication.
| |
| CanAccessFileHandler |
Gets or sets a handler that is used when the Chromium engine is about to access the requested file. Can be used
to disallow accessing the file.
| |
| CanGetCookiesHandler |
Gets or sets a handler that is used when Chromium engine decides
whether cookies can be sent back to the web server.
| |
| CanSetCookieHandler |
Gets or sets a handler that is used when Chromium engine decides
whether cookie can be saved for the URL or not.
| |
| Engine |
Gets the IEngine instance associated with this object.
| |
| HttpAuthPreferences |
Gets the HTTP authorization preferences.
| |
| InterceptRequestHandler |
Gets or sets a handler that is used when a URL request is about to be sent out.
| |
| IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
| LoadResourceHandler |
Gets or sets a handler that is used to determine whether a resource
(HTML, image, JavaScript, CSS file, etc.) should be downloaded from a web server.
| |
| ReceiveHeadersHandler |
Gets or sets a handler that is used each time that an HTTP(S) response header is received. Due to redirects
and authentication requests this can happen multiple times per request. This event is intended
to allow adding, modifying, and deleting HTTP response headers, such as incoming "Set-Cookie" headers.
| |
| SendHeadersHandler |
Gets or sets a handler that is used when request is about to occur and the initial headers have been prepared.
It allows adding, modifying, and deleting HTTP request headers.
| |
| SendProxyHeadersHandler |
Gets or sets a handler that is used when request is about to occur and the initial
headers have been prepared. after This handler is similar to SendHeadersHandler
but used only if the proxy connection is used.
Provides information about proxy connection, and also allows adding, modifying,
and deleting HTTP request headers.
| |
| SendUploadDataHandler |
Gets or sets a handler that is used when the upload data is about to send to the web server.
Can be used to override the upload data before it is sent.
| |
| SendUrlRequestHandler |
Gets or sets a handler that is used when an HTTP request is about to occur. It can be used to override the requested URL and
redirect the request to another location.
| |
| StartTransactionHandler |
Gets or sets a handler that is used when the request is about to start the transaction process.
It allows adding, modifying, and deleting HTTP request headers.
| |
| UserAgent |
Gets the default user-agent string.
| |
| VerifyCertificateHandler |
Gets or sets a handler that is used to verify the SSL certificate provided by the web server.
|
| Name | Description | |
|---|---|---|
| CreateUrlRequestJob |
Creates a new UrlRequestJob instance with the given options.
The URL request job is used to provide the response data for the intercepted URL request. |
| Name | Description | |
|---|---|---|
| BytesReceived |
Occurs when the amount of bytes has been received over the network, such as when receiving
request headers or reading raw response bytes. This includes localhost requests.
| |
| BytesSent |
Occurs when the amount of bytes has been sent over the network, such as when sending
request headers or uploading request body bytes.This includes localhost requests.Currently,
this is only implemented for HTTP transactions, and the amount of bytes does not include TLS
overhead or TCP retransmits.
| |
| Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) | |
| PacScriptErrorOccurred |
Occurs when the error has been occured in the PAC script.
| |
| RedirectResponseCodeReceived |
Occurs when the redirect has been occured.
| |
| RequestCompleted |
Occurs when the request has been completed.
| |
| RequestDestroyed |
Occurs when the request has been destroyed.
| |
| ResponseBytesReceived |
Occurs when a part of HTTP response body has been received over the network.
| |
| ResponseStarted |
Occurs when the response has been started.
| |
| TransactionStarted |
Occurs when the transaction has been started.
|