You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ODataHttpClient

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ODataHttpClient

The simplest implementation of OData client. ## Restrictions - Not support XML (JSON only) - Not support Query Builder ## Usage ``` var client = new HttpClient(); var odata = new ODataClient(client); var request = Request.Get($"{endpoint}/Products?$inlinecount=allpages"); var response = await odata.SendAsync(request); if (response.Success) { var total = response.ReadAs<int>("$['odata.count']"); var products = response.ReadAs<IEnumerable<Product>>("$.value"); } ``` ## More info [https://github.com/iwate/ODataHttpClient](https://github.com/iwate/ODataHttpClient)

2.0.3
Source
nugetNuGet
Version published
Maintainers
1
Created
The README file is missing

Keywords

FAQs

Package last updated on 17 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.