Click or drag to resize

UrlRequestJob Class

The URL request job for the intercepted URL request, which allows you to provide the response data for this URL request.
Inheritance Hierarchy
SystemObject
  DotNetBrowser.NetUrlRequestJob

Namespace:  DotNetBrowser.Net
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.26.0
Syntax
C#
public sealed class UrlRequestJob : IAutoDisposable

The UrlRequestJob type exposes the following members.

Properties
  NameDescription
Public propertyIsClosed
Indicates if the request is handled and all the data is sent.
Public propertyIsDisposed
Indicates if the object is already disposed.
Public propertyUrlRequest
Gets the UrlRequest associated with this job.
Top
Methods
  NameDescription
Public methodComplete
Marks the request as completed. It can be used to indicate that all response data are already sent.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFail
Marks the request as failed. It can be used to indicate that an error occurred during writing the response data.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite
Appends a chunk of the response data. This method may be called multiple times to append several chunks.
Top
Events
  NameDescription
Public eventDisposed
Occurs when the object has been disposed.
Top
See Also