Skip to content

Commit 4907cfd

Browse files
committed
Expose TransportResponse to derived classes
1 parent 3fa8078 commit 4907cfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Elastic.Transport/Responses/TransportResponse.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public override string ToString() => ApiCallDetails?.DebugInformation
4646
/// StreamResponse and kept internal. If we later make this public, we might need to refine this.
4747
/// </remarks>
4848
[JsonIgnore]
49-
internal IEnumerable<IDisposable>? LinkedDisposables { get; set; }
49+
protected internal IEnumerable<IDisposable>? LinkedDisposables { get; internal set; }
5050

5151
/// <summary>
5252
/// Allows the response to identify that the response stream should NOT be automatically disposed.
@@ -55,6 +55,6 @@ public override string ToString() => ApiCallDetails?.DebugInformation
5555
/// Currently only used by StreamResponse and therefore internal.
5656
/// </remarks>
5757
[JsonIgnore]
58-
internal virtual bool LeaveOpen { get; } = false;
58+
protected internal virtual bool LeaveOpen { get; } = false;
5959
}
6060

0 commit comments

Comments
 (0)