awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
libcpr avatar

libcpr/cpr

0
View on GitHub↗
7,367 stars·1,032 forks·C++·9 vuesdocs.libcpr.dev↗

Cpr

C++ est une bibliothèque cliente HTTP de haut niveau et un wrapper pour libcurl. Elle fournit une interface C++ pour effectuer des requêtes réseau, gérer des sessions réseau et implémenter des transferts de données.

La bibliothèque se distingue en offrant un client HTTP asynchrone capable d'exécuter des requêtes non bloquantes via des interfaces de rappel (callbacks). Elle fonctionne également comme un téléverseur de formulaires multipart pour transmettre des fichiers et des données structurées, ainsi qu'un gestionnaire de flux SSE pour traiter les événements envoyés par le serveur en temps réel sur des connexions persistantes.

Ses capacités plus larges couvrent la communication web sécurisée via le chiffrement SSL et l'authentification des requêtes. Elle inclut des outils pour la gestion de l'état de session via la persistance des cookies, le routage par proxy et le contrôle du timeout des requêtes.

L'implémentation utilise la gestion des ressources RAII pour gérer le cycle de vie des handles réseau et des objets de session.

Features

  • HTTP Client Libraries - Implements a modern C++ interface for performing synchronous and asynchronous HTTP requests and managing sessions.
  • HTTP Method Executions - Enables sending network requests using standard HTTP methods like GET, POST, PUT, DELETE, and PATCH.
  • Asynchronous HTTP Clients - Provides a non-blocking HTTP client capable of executing requests in the background via callbacks.
  • C++ Networking Libraries - Provides a simplified C++ networking library for making HTTP requests and interacting with web services.
  • libcurl Wrappers - Wraps the low-level C API of libcurl to provide a high-level C++ interface for HTTP transport.
  • Secure Communication Protocols - Establishes encrypted connections and manages authentication to protect data in transit via SSL.
  • Session Management - Maintains state, cookies, and authentication across multiple network requests to handle user sessions.
  • Session State Management - Maintains synchronization and session state between clients and servers using persistent cookie tracking.
  • Asynchronous Request Execution - Provides non-blocking network request execution using asynchronous patterns to prevent main thread blocking.
  • HTTP Cookie Persistence - Stores and retrieves HTTP cookies from local files to maintain session state across separate request executions.
  • Asynchronous Network Callbacks - Executes network requests in background threads and notifies the caller via user-defined callback functions.
  • API Request Configurations - Provides utilities for configuring request metadata, including custom headers, timeout limits, and proxy settings.
  • Asynchronous API Clients - Handles background network operations and data parsing to keep applications responsive.
  • Multipart File Uploads - Supports uploading files and multipart data to servers with integrated progress tracking.
  • Multipart Form Uploaders - Enables the construction and transmission of HTTP multipart/form-data requests for uploading files.
  • Multipart Form Uploads - Implements transmission of binary data and files using the HTTP multipart/form-data encoding standard.
  • Real-time Event Streams - Implements server-sent events and push notification mechanisms for receiving real-time data updates.
  • Request Header Configuration - Provides comprehensive tools for defining and managing custom HTTP request headers.
  • Server-Sent Events - Processes real-time streaming data received from servers via persistent Server-Sent Event connections.
  • SSE Consumers - Implements a client for processing real-time server-sent event streams over persistent HTTP connections.
  • RAII Resource Management - Uses RAII to automatically manage the lifecycle of network handles and session objects, preventing resource leaks.
  • HTTP Header and Parameter Management - Allows attaching custom headers and encoding parameters into URL-encoded formats for server communication.
  • DevOps & Infrastructure - C++ requests library

Historique des stars

Graphique de l'historique des stars pour libcpr/cprGraphique de l'historique des stars pour libcpr/cpr

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Cpr

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Cpr.
  • whoshuu/cprAvatar de whoshuu

    whoshuu/cpr

    7,362Voir sur GitHub↗

    cpr is a C++ networking library that provides a high-level HTTP request client. It functions as a wrapper around libcurl to simplify the process of sending and receiving data from web servers, specifically managing GET and POST calls and multipart form uploads. The library provides both synchronous and asynchronous execution models, allowing network requests to run on background threads to prevent application freezing. It integrates with the C++ Standard Library to map low-level pointers to standard strings and containers, utilizing RAII for automatic resource management. The project covers

    C++
    Voir sur GitHub↗7,362
  • requests/requestsAvatar de requests

    requests/requests

    54,070Voir sur GitHub↗

    Requests is a Python HTTP client library used for sending HTTP requests and handling responses. It serves as a network client providing fundamental components for session management, proxy routing, multi-part uploading, and SSL/TLS certificate verification. The project distinguishes itself through a session manager that maintains cookies and reuses TCP connections to improve network performance. It also includes a dedicated multi-part form uploader for transmitting binary data and an integrated SSL/TLS certificate verifier to ensure encrypted and trusted communication. The library covers a b

    Python
    Voir sur GitHub↗54,070
  • servicestack/servicestackAvatar de ServiceStack

    ServiceStack/ServiceStack

    5,498Voir sur GitHub↗

    ServiceStack is a high-performance .NET web framework designed for building type-safe APIs using strongly-typed request and response objects. It functions as a message-based API engine that decouples business logic from the transport layer, allowing services to be exposed via multiple protocols including HTTP, gRPC, and various message queue providers. The framework is distinguished by its type-safe API generator, which produces native client SDKs and data transfer objects from service metadata across multiple languages. It also includes a distributed service gateway for microservices orchest

    C#c-sharpcsvframework
    Voir sur GitHub↗5,498
  • typhoeus/typhoeusAvatar de typhoeus

    typhoeus/typhoeus

    4,130Voir sur GitHub↗

    Typhoeus is a Ruby wrapper for libcurl that functions as a session-based HTTP client. It provides an interface for making both synchronous and asynchronous network requests. The project acts as a parallel request manager, using a managed queue to execute multiple network requests concurrently. It further distinguishes itself as a mocking tool for stubbing requests with predefined responses and as a caching layer that stores responses to avoid redundant network calls. The library covers a broad range of capabilities including session cookie management, response body streaming for large files,

    Ruby
    Voir sur GitHub↗4,130
Voir les 30 alternatives à Cpr→

Questions fréquentes

Que fait libcpr/cpr ?

C++ est une bibliothèque cliente HTTP de haut niveau et un wrapper pour libcurl. Elle fournit une interface C++ pour effectuer des requêtes réseau, gérer des sessions réseau et implémenter des transferts de données.

Quelles sont les fonctionnalités principales de libcpr/cpr ?

Les fonctionnalités principales de libcpr/cpr sont : HTTP Client Libraries, HTTP Method Executions, Asynchronous HTTP Clients, C++ Networking Libraries, libcurl Wrappers, Secure Communication Protocols, Session Management, Session State Management.

Quelles sont les alternatives open-source à libcpr/cpr ?

Les alternatives open-source à libcpr/cpr incluent : whoshuu/cpr — cpr is a C++ networking library that provides a high-level HTTP request client. It functions as a wrapper around… requests/requests — Requests is a Python HTTP client library used for sending HTTP requests and handling responses. It serves as a network… servicestack/servicestack — ServiceStack is a high-performance .NET web framework designed for building type-safe APIs using strongly-typed… typhoeus/typhoeus — Typhoeus is a Ruby wrapper for libcurl that functions as a session-based HTTP client. It provides an interface for… jnunemaker/httparty — HTTParty is a Ruby HTTP client library designed for building standardized API clients. It abstracts low-level network… loopj/android-async-http — This is an asynchronous HTTP client for Android that simplifies network requests by wrapping Apache HttpClient. It…