Function psp::sys::sceHttpCreateRequestWithURL
source · #[no_mangle]
pub unsafe extern "C" fn sceHttpCreateRequestWithURL(
connection_id: i32,
method: HttpMethod,
url: *mut u8,
content_length: u64
) -> i32
Expand description
Create a http request with url.
§Parameters
connection_id
: ID of the connection created by sceHttpCreateConnection or sceHttpCreateConnectionWithURLmethod
: One of ::HttpMethodurl
: url to accesscontent_length
: Length of the content (POST method only)
§Return Value
A request ID on success, < 0 on error.