Function ctru_sys::httpcGetResponseHeader
source · pub unsafe extern "C" fn httpcGetResponseHeader(
context: *mut httpcContext,
name: *const c_char,
value: *mut c_char,
valuebuf_maxsize: u32_
) -> Result
Expand description
Gets a response header field from a HTTP context.
§Arguments
context
- Context to use.name
- Name of the field.value
- Pointer to output the value of the field to.valuebuf_maxsize
- Maximum size of the value buffer.