Constructor ChunkedStream
ChunkedStream(int, float, Func<AsyncRequest<object>, Result>)
Constructs a stream object.
Declaration
public ChunkedStream(int bufferSize = 8192, float maxElapsedSeconds = 5, Func<AsyncRequest<object>, AsyncRequest.Result> functor = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| int | bufferSize | Size of the buffer in bytes.  | 
    
| float | maxElapsedSeconds | Amount of time after which the buffer will automatically flush.  | 
    
| Func<Async | 
      functor | Callback function to pass buffered data to.  |