Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ Additional Features #65

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'development' into feature/additionalParameters
# Conflicts:
#	Utilities.Rest/Packages/com.utilities.rest/Runtime/RestParameters.cs
  • Loading branch information
StephenHodgson committed Jan 15, 2024
commit 7cd496ccf236ae89fa4c608e5c01837654c623b1
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class RestParameters
/// <param name="certificateHandler">Optional, certificate handler for the request.</param>
/// <param name="disposeCertificateHandler">Optional, dispose the <see cref="CertificateHandler"/>?<br/>Default is true.</param>
/// <param name="forceDownload">Optional, Force the download cache to invalidate the existing file and download the file fresh again<br/>Default is false.</param>
/// <param name="debug">Optional,Enabled printing for the debug output of the request.</param>
public RestParameters(
IReadOnlyDictionary<string, string> headers = null,
IProgress<Progress> progress = null,
Expand All @@ -30,7 +31,8 @@ public RestParameters(
bool disposeUploadHandler = true,
CertificateHandler certificateHandler = null,
bool disposeCertificateHandler = true,
bool forceDownload = false)
bool forceDownload = false,
bool debug = false)
{
Headers = headers;
Progress = progress;
Expand All @@ -40,6 +42,7 @@ public RestParameters(
CertificateHandler = certificateHandler;
DisposeCertificateHandler = disposeCertificateHandler;
ForceDownload = forceDownload;
Debug = debug;
}

/// <summary>
Expand Down Expand Up @@ -80,10 +83,13 @@ public RestParameters(
/// </summary>
public bool DisposeUploadHandler { get; internal set; }

public bool ForceDownload { get; internal set; }

internal int ServerSentEventCount { get; set; }

/// <summary>
/// Force the download cache to invalidate the existing file and download the file fresh again<br/>Default is false.
/// </summary>
public bool ForceDownload { get; internal set; }

/// <summary>
/// Enabled printing for the debug output of the request.
/// </summary>
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.