Skip to content

Add documentation of generic HTTP requests, #1117 - #63

Open
dotrujos wants to merge 2 commits into
libcpr:mainfrom
dotrujos:feature/enhance-metaprogrammatic-template
Open

dotrujos wants to merge 2 commits into
libcpr:mainfrom
dotrujos:feature/enhance-metaprogrammatic-template

Conversation

@dotrujos

@dotrujos dotrujos commented Nov 12, 2026 •

Copy link
Copy Markdown

This PR belongs to libcpr/cpr#1117

Summary

  • Document the public cpr::Request<HTTPMethod> API and its supported HTTP methods.
  • Add an example showing how to share request options, such as authentication and headers, across methods.
  • Clarify that Request is synchronous; use the method-specific APIs for asynchronous and multi-request operations.

Validation

  • Reviewed the documentation changes.
  • git diff --check passes.

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants