Code Monkey home page Code Monkey logo

Comments (8)

jasonsandlin avatar jasonsandlin commented on July 29, 2024

No work has been done in that direction, but it is cross platform and you're welcome to mess with it if its useful.

from libhttpclient.

songguanqing avatar songguanqing commented on July 29, 2024

A new doubt.
"libHttpClient.142.UWP.C" is used to generate the Lib library.
And "Http2019" is a sample.
But how does "Http2019.exe" call that library?
I don't see any project settings that can link this static library to the example.
This makes me very confused

from libhttpclient.

jasonsandlin avatar jasonsandlin commented on July 29, 2024

It includes a props files to setup the link. See:

https://github.com/microsoft/libHttpClient/blob/main/Samples/UWP-Http/Http.vcxproj#L104

To add the props file to your project by clicking "View->Other Windows->Property Manager", right clicking on your project, selecting "Add Existing Property Sheet", then finally selecting the props file.

from libhttpclient.

songguanqing avatar songguanqing commented on July 29, 2024

But in the props files,I don't see a library named "libHttpClient.142.UWP.C.lib"

from libhttpclient.

jasonsandlin avatar jasonsandlin commented on July 29, 2024

include & build this vcxproj
https://github.com/microsoft/libHttpClient/tree/main/Build/libHttpClient.142.UWP.C
and you'll see it.

If you open the sln at the root, eg for VS2019 use https://github.com/microsoft/libHttpClient/blob/main/libHttpClient.vs2019.sln
and you'll see the various vcxprojs included.

from libhttpclient.

songguanqing avatar songguanqing commented on July 29, 2024

OK,Thanks a lot.
For example, the following specific interface: HCHttpCallRequestSetUrl
It declared in httpclient.h.
When I run the example program "Http2019",what really makes this interface work?
LibHttpClient.142.UWP.C.lib or source file๏ผŸ

from libhttpclient.

jasonsandlin avatar jasonsandlin commented on July 29, 2024

the api of httpclient.h is inside LibHttpClient.142.UWP.C.lib.
to use, link to the static lib you've previously built

from libhttpclient.

songguanqing avatar songguanqing commented on July 29, 2024

Thank you so much.

from libhttpclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.