Table of Contents

Method Write

Namespace
DotNetBrowser.Net
Assembly
DotNetBrowser.dll

Write(byte[])

Appends a chunk of the response data. This method may be called multiple times to append several chunks.

public void Write(byte[] data)

Parameters

data byte[]

The response data bytes.

Remarks

When all the chunks are written either the Complete() or Fail() method must be called to indicate that the request is completed or failed.

Write(byte[], int, int)

Appends a segment of the response data. This method may be called multiple times to append several chunks.

public void Write(byte[] data, int offset, int count)

Parameters

data byte[]

The buffer containing the response data bytes.

offset int

The zero-based byte offset in data.

count int

The number of bytes to write.

Remarks

When all the chunks are written either the Complete() or Fail() method must be called to indicate that the request is completed or failed.