pub unsafe extern "C" fn aws_http_proxy_strategy_new_basic_auth(
allocator: *mut aws_allocator,
config: *mut aws_http_proxy_strategy_basic_auth_options
) -> *mut aws_http_proxy_strategy
Expand description
A constructor for a proxy strategy that performs basic authentication by adding the appropriate header and header value to requests or CONNECT requests.
@param allocator memory allocator to use @param config basic authentication configuration info @return a new proxy strategy if successfully constructed, otherwise NULL