# microsoft/cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

Repository: https://github.com/microsoft/cpprestsdk
Canonical: https://ross.abutalabs.com/products/cpprestsdk
Language: C++
License: NOASSERTION
License Family: other
Topics: cloud, sdk, cpp11, cpp-library, cpp, http, websockets, oauth2, oauth, async, asynchronous-tasks, tasks
Archived: true
Last push: 2026-06-01T19:54:26+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 8, longevity 100
- inputs: {"age_days": 4395, "days_push": 93, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8259, forks 1688 (observed 2026-08-28T04:10:19.932339+00:00)

## What it is
The C++ REST SDK (Casablanca) is a Microsoft library for cloud-based client-server communication in native C++ using a modern asynchronous API. It provides HTTP client/server, WebSockets, JSON serialization, and OAuth support via PPL-based tasks.

## Use cases
- make async HTTP requests from C++
- consume REST APIs in native code
- add WebSocket client support to a C++ app
- implement OAuth2 authentication in C++
- build a lightweight C++ HTTP server
- parse and serialize JSON in C++

## When to choose
- you maintain an existing codebase already built on cpprestsdk
- you need a mature C++11 async HTTP/WebSocket library and can vendor/fork it
- you target Windows with vcpkg and NuGet packaging

## When to avoid
- starting a new project - the repo is archived and unmaintained
- you want ongoing security fixes or community support
- you prefer actively maintained alternatives like libcurl or Boost.Beast

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, http-server, websocket, auth, serialization
- domain: web-development, backend, apis, developer-tools
- platform: windows, cpp, cross-platform
- tags: cpp11, async, rest, oauth2, cloud-client-server, archived, microsoft, linux, macos, android

## Member repositories
- microsoft/cpprestsdk (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:19.932339+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:28:11.310328+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/cpprestsdk (fetched 2026-08-28T04:10:19.932339+00:00, sha 0b8b7641d738)
- Data as of 2026-08-30T08:39:29.467469+00:00.
