Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion EasyVCR/Handlers/VCRHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace EasyVCR.Handlers
/// A handler that records and replays HTTP requests and responses.
/// </summary>
// ReSharper disable once InconsistentNaming
internal class VCRHandler : DelegatingHandler
public class VCRHandler : DelegatingHandler
{
private readonly Cassette _cassette;

Expand Down
13 changes: 8 additions & 5 deletions EasyVCR/RequestElements/Request.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class Request : HttpElement
/// The body of the request.
/// </summary>
[JsonProperty("Body")]
internal string? Body { get; set; }
public string? Body { get; set; }

/// <summary>
/// The content type of the body of the response.
Expand All @@ -31,22 +31,25 @@ internal ContentType? BodyContentType
/// The content headers of the request.
/// </summary>
[JsonProperty("ContentHeaders")]
internal IDictionary<string, string>? ContentHeaders { get; set; }
public IDictionary<string, string>? ContentHeaders { get; set; }

/// <summary>
/// The method of the request.
/// </summary>
[JsonProperty("Method")]
internal string Method { get; set; }
public string Method { get; set; }

/// <summary>
/// The request headers of the request.
/// </summary>
[JsonProperty("RequestHeaders")]
internal IDictionary<string, string> RequestHeaders { get; set; }
public IDictionary<string, string> RequestHeaders { get; set; }

/// <summary>
/// The URL of the request.
/// </summary>
[JsonProperty("Uri")]
internal string? Uri { get; set; }
public string? Uri { get; set; }

/// <summary>
/// The content type of the body of the response (string).
Expand Down