C Collections

chttpclient · Section 3

chttpcli_create

chttpcli_create - create an HTTP client with the default allocator

C Collections (libccollections, -lccollections)

#include <ccollections/chttpclient.h>
 
chttpcli chttpcli_create(char **err_str);

This is an inline wrapper around chttpcli_create_mp that passes
NULL for mprocs.

A new client handle, or CHTTPCLI_NULL if the call fails.

chttpcli_create_mp(3)