Function ctru_sys::httpcOpenContext

source ·
pub unsafe extern "C" fn httpcOpenContext(
    context: *mut httpcContext,
    method: HTTPC_RequestMethod,
    url: *const c_char,
    use_defaultproxy: u32_
) -> Result
Expand description

Opens a HTTP context.

§Arguments

  • context - Context to open.
  • url - URL to connect to.
  • use_defaultproxy - Whether the default proxy should be used (0 for default)