Table of Contents

Property StartTransactionHandler

Namespace
DotNetBrowser.Net
Assembly
DotNetBrowser.dll

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.

IHandler<StartTransactionParameters, StartTransactionResponse> StartTransactionHandler { get; set; }

Property Value

IHandler<StartTransactionParameters, StartTransactionResponse>

Remarks

Use the OverrideHeaders(IEnumerable<HttpHeader>) method to override headers.

Use the Continue() method to continue with original headers.

If exception occurs inside the handler, the default behavior will be applied - the Continue() method will be used.

Exceptions

ObjectDisposedException

The INetwork object has already been disposed.