Function psp::sys::sceHttpSendRequest

source ·
#[no_mangle]
pub unsafe extern "C" fn sceHttpSendRequest(
    request_id: i32,
    data: *mut c_void,
    data_size: u32
) -> i32
Expand description

Send a http request.

§Parameters

  • request_id: ID of the request created by sceHttpCreateRequest or sceHttpCreateRequestWithURL
  • data: For POST methods specify a pointer to the post data, otherwise pass NULL
  • data_size: For POST methods specify the size of the post data, otherwise pass 0

§Return Value

0 on success, < 0 on error.