/LibCURL.jl

Thin Julia wrapper of libCURL

Primary LanguageJuliaOtherNOASSERTION

LibCURL.jl

Thin Julia wrapper for libCURL

gen/generate.jl is used to generate the following files:

lC_common_h.jl : enum consts (generated by clang.jl)

lC_curl_h.jl : function wrappers using the @c macro (generated by clang.jl)

lC_defines_h.jl : '#define' s (generated using the standard C preprocessor and regex)

lC_exports_j.jl : exports (generated by parsing lC_common_h.jl and lC_curl_h.jl)

lC_defines_h.jl and lC_exports_j.jl will also be generated from clang.jl once clang.jl supports the same.

libCURL.jl mostly includes the generated files and also defines a few variadic functions (clang.jl does not yet support varargs)

libCURL.jl should be used for low level 1:1 mapping of the libCURL API in Julia.

Mime_ext.jl is generated from /etc/mime.types and maps common file extensions to their MIME types

Usage

HTTPClient.HTTPC and SMTPClient.jl makes use of LibCURL