Large Data Upload Utilities.
More...
Large Data Upload Utilities.
Definition at line 10 of file Utilities.cs.
◆ GetStringStream()
Generate a byte stream from a string which can be used in the LargeStreamUpload methods.
- Parameters
-
input | The string to convert to a byte stream. |
- Returns
- A byte stream of the UTF8-encoded data in the string.
Definition at line 40 of file Utilities.cs.
◆ PollUntilDataProcessed() [1/2]
Polls the dataEndpoint until the state is no longer Processing.
- Parameters
-
dataEndpoint | The data endpoint to poll. |
parameters | The AsyncParameters specifying the upload and polling behaviour, and progress and completion callbacks. |
- Returns
- The final StatusResponse after finishing polling
- Exceptions
-
RequestTimeoutException | Raised if the commit_timeout is exceeded. |
Definition at line 64 of file Utilities.cs.
◆ PollUntilDataProcessed() [2/2]
Polls the dataEndpoint until the state is no longer Processing.
- Parameters
-
dataEndpoint | The data endpoint to poll. |
parameters | The parameters specifying the upload and polling behaviour. |
- Returns
- The final StatusResponse after finishing polling
- Exceptions
-
RequestTimeoutException | Raised if the commit_timeout is exceeded. |
Definition at line 50 of file Utilities.cs.
◆ EnableDebugLogging
bool AnalyzeRe.LargeDataUpload.Utilities.EnableDebugLogging |
|
staticgetset |
When in debug mode, allows detailed debug logging of the data upload process.
Very useful when debugging upload issues, very noisy when not, hence why we don't just wholesale comment-out the logs or leave them in.
Definition at line 18 of file Utilities.cs.
The documentation for this class was generated from the following file: