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

Extensions for client and response #2221

Merged
merged 6 commits into from
Jun 17, 2024
Merged

Extensions for client and response #2221

merged 6 commits into from
Jun 17, 2024

Conversation

alexeyzimarev
Copy link
Member

Description

Added extensions:

  • RestResponse.GetHeader for getting one response header value
  • RestResponse.GetHeaders for getting a collection of header values
  • IRestClient.(Execute)Get(Async) with string resource instead of request object
  • IRestClient.(Execute)Delete(Async) with string resource instead of request object

Purpose

This pull request is a:

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Copy link

github-actions bot commented Jun 6, 2024

Test Results

   35 files     35 suites   22m 41s ⏱️
  435 tests   435 ✅ 0 💤 0 ❌
2 944 runs  2 944 ✅ 0 💤 0 ❌

Results for commit 88b633e.

♻️ This comment has been updated with latest results.

Copy link

cloudflare-pages bot commented Jun 12, 2024

Deploying restsharp with  Cloudflare Pages  Cloudflare Pages

Latest commit: 88b633e
Status: ✅  Deploy successful!
Preview URL: https://e63b0262.restsharp.pages.dev
Branch Preview URL: https://new-extensions.restsharp.pages.dev

View logs

# Conflicts:
#	src/RestSharp/Extensions/GenerateImmutableAttribute.cs
#	src/RestSharp/Response/RestResponseBase.cs
@alexeyzimarev alexeyzimarev merged commit bfabd65 into dev Jun 17, 2024
11 checks passed
@repo-ranger repo-ranger bot deleted the new-extensions branch June 17, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant