Skip to content

Extensions for client and response - #2221

Merged
alexeyzimarev merged 6 commits into
devfrom
new-extensions
Jun 17, 2024
Merged

Extensions for client and response#2221
alexeyzimarev merged 6 commits into
devfrom
new-extensions

Conversation

@alexeyzimarev

Copy link
Copy Markdown
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)

@github-actions

github-actionsBot commented Jun 6, 2024

Copy link
Copy Markdown

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.

@cloudflare-workers-and-pages

cloudflare-workers-and-pagesBot commented Jun 12, 2024

Copy link
Copy Markdown

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 devJun 17, 2024
@repo-ranger
repo-rangerBot deleted the new-extensions branch June 17, 2024 21:38
Sign up for freeto 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.

1 participant

@alexeyzimarev