alhc 0.2.2

Async Lightweight HTTP Client: A async http client library that using system library to reduce binary size if possible. (Currently under heavy development)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![allow(unused)]
#![allow(non_snake_case)]

use core_foundation::{mach_port::CFAllocatorRef, string::CFStringRef, url::CFURLRef};

#[link(name = "CFNetwork", kind = "framework")]
extern "C" {
    pub fn CFURLCreateWithString(
        allocator: CFAllocatorRef,
        URLString: CFStringRef,
        baseURL: CFURLRef,
    ) -> CFURLRef;
}