Skip to content

docs: document missing HttpClient features#445

Merged
vbreuss merged 2 commits intomainfrom
topic/document-httpclient
Jan 31, 2026
Merged

docs: document missing HttpClient features#445
vbreuss merged 2 commits intomainfrom
topic/document-httpclient

Conversation

@vbreuss
Copy link
Contributor

@vbreuss vbreuss commented Jan 31, 2026

This PR adds comprehensive documentation for missing HttpClient mocking features in Mockolate. The documentation covers HTTP method support, URI matching capabilities, and content matching strategies.

Key Changes:

  • Documents all standard HTTP methods (GET, POST, PUT, DELETE, PATCH) with examples
  • Adds URI matching documentation including scheme, host, port, path, and query filtering
  • Documents string and binary content matching capabilities

@vbreuss vbreuss self-assigned this Jan 31, 2026
Copilot AI review requested due to automatic review settings January 31, 2026 14:53
@vbreuss vbreuss added the documentation Improvements or additions to documentation label Jan 31, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive documentation for missing HttpClient mocking features in Mockolate. The documentation covers HTTP method support, URI matching capabilities, and content matching strategies.

Changes:

  • Documents all standard HTTP methods (GET, POST, PUT, DELETE, PATCH) with examples
  • Adds URI matching documentation including scheme, host, port, path, and query filtering
  • Documents string and binary content matching capabilities

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
README.md Adds new sections documenting HTTP methods, URI matching, and content matching features
Docs/pages/special-types/01-httpclient.md Mirrors README.md changes in the dedicated HttpClient documentation page

@github-actions
Copy link

Test Results

    21 files  ±0      21 suites  ±0   6m 7s ⏱️ +45s
 2 518 tests ±0   2 517 ✅ ±0  1 💤 ±0  0 ❌ ±0 
16 807 runs  ±0  16 806 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 8548677. ± Comparison against base commit fb7701e.

@github-actions
Copy link

github-actions bot commented Jan 31, 2026

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763 3.15GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.102
[Host] : .NET 10.0.2 (10.0.2, 10.0.225.61305), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Method Mean Error StdDev Gen0 Gen1 Allocated
Simple_Mockolate 1.531 μs 0.0149 μs 0.0132 μs 0.2270 - 3.73 KB
Simple_Moq 179.793 μs 0.2994 μs 0.2500 μs 0.4883 - 14.55 KB
Simple_NSubstitute 5.763 μs 0.0278 μs 0.0246 μs 0.5493 0.0076 9.09 KB
Simple_FakeItEasy 6.348 μs 0.0278 μs 0.0217 μs 0.4959 - 8.11 KB

@vbreuss vbreuss enabled auto-merge (squash) January 31, 2026 15:04
@vbreuss vbreuss disabled auto-merge January 31, 2026 15:05
@vbreuss vbreuss merged commit 193ebe8 into main Jan 31, 2026
8 checks passed
@vbreuss vbreuss deleted the topic/document-httpclient branch January 31, 2026 15:06
@sonarqubecloud
Copy link

@github-actions
Copy link

This is addressed in release v1.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document extended HttpClient features

1 participant

Comments