GithubHelp home page GithubHelp logo

isabella232 / azure-uhttp-c-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twilio/azure-uhttp-c

0.0 0.0 0.0 156 KB

Twilio fork of azure-uhttp-c. Provides advanced support for Trust Onboard before it is merged to upstream.

License: MIT License

Shell 2.44% C 93.04% CMake 3.80% Batchfile 0.72%

azure-uhttp-c-1's Introduction

uhttp

The uhttp provides a platform independent http implementation via the Azure C SDKs.

Dependencies

azure-uhttp-c depends on azure-c-shared.

azure-uhttp-c uses cmake for configuring build files.

Setup

  1. Clone azure-uhttp-c using the recursive option:
git clone --recursive https://github.com/Azure/azure-uhttp-c.git
  1. Create a folder called cmake under *azure-uhttp-c

  2. Switch to the cmake folder and run

cmake ..
  1. Build
cmake --build .

Installation and Use

Optionally, you may choose to install azure-c-shared-utility on your machine:

  1. Switch to the cmake folder and run

    cmake -Duse_installed_dependencies=ON ../
    
    cmake --build . --target install
    

    or install using the follow commands for each platform:

    On Linux:

    sudo make install
    
  2. Use it in your project (if installed)

    find_package(azure_uhttp_c REQUIRED CONFIG)
    target_link_library(yourlib uhttp)
    

If running tests, this requires that umock-c, azure-ctest, and azure-c-testrunnerswitcher, azure-c-shared-utility are installed (through CMake) on your machine.

Configuration options

In order to turn on/off the tlsio implementations use the following CMAKE options:

  • -Duse_custom_heap:bool={ON/OFF} - turns disables/enables the implementations in gballoc.c and requires that an external library implement the gballoc_malloc family.
  • -Dno_logging:bool={ON/OFF} - turns on/off logging
  • -Duse_openssl:bool={ON/OFF} - turns on/off the OpenSSL support. If this option is use an environment variable name OpenSSLDir should be set to point to the OpenSSL folder.
  • -Dmemory_trace:bool={ON/OFF} - turns on/off gballoc_xxx functions for memory alocation
  • -Duse_installed_dependencies:bool={ON/OFF} - turns on/off building azure-c-shared-utility using installed dependencies. This package may only be installed if this flag is ON.
  • -Drun_unittests:bool={ON/OFF} - enables building of unit tests. Default is OFF.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

azure-uhttp-c-1's People

Contributors

jebrando avatar jetstreamroysprowl avatar ewertons avatar jspaith avatar dcristoloveanu avatar cartertinney avatar massand avatar microsoftopensource avatar platipo avatar oytis avatar msftgits avatar sahithkallakunta avatar

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.