[llvm] [Support] Add HTTP Client Support library.
authorNoah Shutty <shutty@google.com>
Wed, 1 Dec 2021 23:46:57 +0000 (23:46 +0000)
committerNoah Shutty <shutty@google.com>
Wed, 1 Dec 2021 23:54:38 +0000 (23:54 +0000)
commit170783f991fab1e5480a5bdea5e1b26c27b9b452
tree88a624c4627fc2031e903e9b27160c10ac033fb2
parent6703fe25b7c26742cb511ba0e6050173188dd2f1
[llvm] [Support] Add HTTP Client Support library.

This patch implements a small HTTP client library consisting primarily of the `HTTPRequest`, `HTTPResponseHandler`, and `BufferedHTTPResponseHandler` classes. Unit tests of the `HTTPResponseHandler` and `BufferedHTTPResponseHandler` are included.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D112751
llvm/include/llvm/Support/HTTPClient.h [new file with mode: 0644]
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/HTTPClient.cpp [new file with mode: 0644]
llvm/unittests/Support/CMakeLists.txt
llvm/unittests/Support/HTTPClient.cpp [new file with mode: 0644]