Questions tagged [lib-http]

An HTTP client/server library for C

An HTTP client/server library for C!

Goals of lib-http:

  • Be as lightweight as possible.
  • Focus on HTTP and not become a swissarmy knife of protocols.
  • Provide a low-level API to the HTTP protocol. Minimize magic & sugar.
  • Low number of dependencies. Only use stuff your system already has installed (ex: OpenSSL).
  • Be friendly to proxies.
  • Support enterprise deployments (ex: SPNEGO, Kerberos, NTLM)
  • Embed into event loops for asynchronous networking (ex: libev)
2 questions
1
vote
0 answers

how to use httplib_connect_client() - libhttp function in c program

Could anyone share a sample program to see how to use httplib_connect_client() :libhttp library to connect to my host server? struct lh_con_t *httplib_connect_client( struct lh_ctx_t *ctx, const char *host, int port, int use_ssl ) Please provide a…
LIJIN T V
  • 81
  • 8
-1
votes
1 answer