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
databyte[]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
databyte[]The buffer containing the response data bytes.
offsetintThe zero-based byte offset in
data.countintThe 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.