postmanlabs / postmanlabs/postman-code-generators

Add libhv codegen for c++ language

Open
#628 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

codegen
Dominant language
JavaScript
Stars
1k
Forks
381
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
C++ is a popular language, but postman does not give a codegen, libcurl is too complicated and difficult to use, so I hope postman can add a codegen for C++.

Describe the solution you'd like
libhv will be a good choice, it not only provides simple Easy-to-use HttpClient class, and also provides interfaces like python requests and javascript axios.

Additional context
libhv http client example code: https://github.com/ithewei/libhv/blob/master/examples/http_client_test.cpp

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the existing generators in postman-code-generators, then read libhv's examples/http_client_test.cpp to understand the requested client style. Done means adding a C++ code generator that uses libhv for the requested Postman requests and integrating it with the repository's generator collection.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.