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

Improved binary support #2771

Merged
merged 8 commits into from
Apr 23, 2024
Merged

Conversation

Kasdejong
Copy link
Contributor

Description

Added improved binary support for the FhirClient.

  • The FhirClient will attempt to request/recieve binary data instead of "Binary" resources where possible (these will still be parsed into resources upon receiving them, but it puts less stress on the network). If the server sends a resource nonetheless, the old implementation will handle this. This can be switched off in the settings (is on by default).

  • It is now also possible to send binary data, but far from all servers support this, so this will have to be turned on manually.

Related issues

Closes #2695

Testing

Integration test against firely and HAPI

src/Hl7.Fhir.Base/Rest/EntryToHttpExtensions.cs Outdated Show resolved Hide resolved
src/Hl7.Fhir.Base/Rest/FhirClientSettings.cs Outdated Show resolved Hide resolved
src/Hl7.Fhir.Base/Rest/HttpContentParsers.cs Outdated Show resolved Hide resolved
@ewoutkramer ewoutkramer merged commit 95ce7c1 into develop Apr 23, 2024
16 checks passed
@ewoutkramer ewoutkramer deleted the feature/improved-binary-support branch April 23, 2024 07:39
@mmsmits
Copy link
Member

mmsmits commented May 1, 2024

also closes #1340

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.

Finish Binary support for the FhirClient
3 participants