Skip to main content

sceHttpGetStatusCode

Function sceHttpGetStatusCode 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn sceHttpGetStatusCode( request_id: i32, status_code: *mut i32, ) -> i32
Expand description

Get http request status code.

§Parameters

  • request_id: ID of the request created by sceHttpCreateRequest or sceHttpCreateRequestWithURL
  • status_code: The status code from the host (200 is ok, 404 is not found etc)

§Return Value

0 on success, < 0 on error.