Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.22 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.22 KB

HTTP CLIENT

Introduction

Single threaded socket capable of connecting to a API trough HTTP protocol. Suitable for embedded systems such as a small Raspberry PI project or a simple application.

Dependency

Key Highlights

  • GET and POST methods.
  • Convert Domain to IP.
  • Support URL.
  • Single Thread/Thread safe
  • Memory optimized.
  • Small Codebase.

Testing the Code before implementation

This section explains how to test the C code before running it on a real project. We expect that you possess some basic understanding of C and GCC running in a Linux environment.

1 Go to source directory and enter gcc main.c -o out/out
2 run the app by entering ./a.out GET google.com

Development environment

USE CASE

The code is designed to run on embedded systems such as an Raspberry PI connected to the internet trough WiFi or ethernet. It can also be used in Linux OS applications.