#[repr(C)]pub struct SciterRequestAPI {Show 28 fields
pub RequestUse: Option<unsafe extern "C" fn(rq: HREQUEST) -> REQUEST_RESULT>,
pub RequestUnUse: Option<unsafe extern "C" fn(rq: HREQUEST) -> REQUEST_RESULT>,
pub RequestUrl: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestContentUrl: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestGetRequestType: Option<unsafe extern "C" fn(rq: HREQUEST, pType: *mut LPCSTR) -> REQUEST_RESULT>,
pub RequestGetRequestedDataType: Option<unsafe extern "C" fn(rq: HREQUEST, pData: *mut SciterResourceType) -> REQUEST_RESULT>,
pub RequestGetReceivedDataType: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestGetNumberOfParameters: Option<unsafe extern "C" fn(rq: HREQUEST, pNumber: *mut UINT) -> REQUEST_RESULT>,
pub RequestGetNthParameterName: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestGetNthParameterValue: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestGetTimes: Option<unsafe extern "C" fn(rq: HREQUEST, pStarted: *mut UINT, pEnded: *mut UINT) -> REQUEST_RESULT>,
pub RequestGetNumberOfRqHeaders: Option<unsafe extern "C" fn(rq: HREQUEST, pNumber: *mut UINT) -> REQUEST_RESULT>,
pub RequestGetNthRqHeaderName: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestGetNthRqHeaderValue: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestGetNumberOfRspHeaders: Option<unsafe extern "C" fn(rq: HREQUEST, pNumber: *mut UINT) -> REQUEST_RESULT>,
pub RequestGetNthRspHeaderName: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestGetNthRspHeaderValue: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestGetCompletionStatus: Option<unsafe extern "C" fn(rq: HREQUEST, pState: *mut REQUEST_STATE, pCompletionStatus: *mut UINT) -> REQUEST_RESULT>,
pub RequestGetProxyHost: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
pub RequestGetProxyPort: Option<unsafe extern "C" fn(rq: HREQUEST, pPort: *mut UINT) -> REQUEST_RESULT>,
pub RequestSetSucceeded: Option<unsafe extern "C" fn(rq: HREQUEST, status: UINT, dataOrNull: LPCBYTE, dataLength: UINT) -> REQUEST_RESULT>,
pub RequestSetFailed: Option<unsafe extern "C" fn(rq: HREQUEST, status: UINT, dataOrNull: LPCBYTE, dataLength: UINT) -> REQUEST_RESULT>,
pub RequestAppendDataChunk: Option<unsafe extern "C" fn(rq: HREQUEST, data: LPCBYTE, dataLength: UINT) -> REQUEST_RESULT>,
pub RequestSetRqHeader: Option<unsafe extern "C" fn(rq: HREQUEST, name: LPCWSTR, value: LPCWSTR) -> REQUEST_RESULT>,
pub RequestSetRspHeader: Option<unsafe extern "C" fn(rq: HREQUEST, name: LPCWSTR, value: LPCWSTR) -> REQUEST_RESULT>,
pub RequestSetReceivedDataType: Option<unsafe extern "C" fn(rq: HREQUEST, type_: LPCSTR) -> REQUEST_RESULT>,
pub RequestSetReceivedDataEncoding: Option<unsafe extern "C" fn(rq: HREQUEST, encoding: LPCSTR) -> REQUEST_RESULT>,
pub RequestGetData: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCBYTE, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>,
}Fields§
§RequestUse: Option<unsafe extern "C" fn(rq: HREQUEST) -> REQUEST_RESULT>§RequestUnUse: Option<unsafe extern "C" fn(rq: HREQUEST) -> REQUEST_RESULT>§RequestUrl: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestContentUrl: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestGetRequestType: Option<unsafe extern "C" fn(rq: HREQUEST, pType: *mut LPCSTR) -> REQUEST_RESULT>§RequestGetRequestedDataType: Option<unsafe extern "C" fn(rq: HREQUEST, pData: *mut SciterResourceType) -> REQUEST_RESULT>§RequestGetReceivedDataType: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestGetNumberOfParameters: Option<unsafe extern "C" fn(rq: HREQUEST, pNumber: *mut UINT) -> REQUEST_RESULT>§RequestGetNthParameterName: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestGetNthParameterValue: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestGetTimes: Option<unsafe extern "C" fn(rq: HREQUEST, pStarted: *mut UINT, pEnded: *mut UINT) -> REQUEST_RESULT>§RequestGetNumberOfRqHeaders: Option<unsafe extern "C" fn(rq: HREQUEST, pNumber: *mut UINT) -> REQUEST_RESULT>§RequestGetNthRqHeaderName: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestGetNthRqHeaderValue: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestGetNumberOfRspHeaders: Option<unsafe extern "C" fn(rq: HREQUEST, pNumber: *mut UINT) -> REQUEST_RESULT>§RequestGetNthRspHeaderName: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestGetNthRspHeaderValue: Option<unsafe extern "C" fn(rq: HREQUEST, n: UINT, rcv: Option<unsafe extern "C" fn(arg1: LPCWSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestGetCompletionStatus: Option<unsafe extern "C" fn(rq: HREQUEST, pState: *mut REQUEST_STATE, pCompletionStatus: *mut UINT) -> REQUEST_RESULT>§RequestGetProxyHost: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCSTR, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>§RequestGetProxyPort: Option<unsafe extern "C" fn(rq: HREQUEST, pPort: *mut UINT) -> REQUEST_RESULT>§RequestSetSucceeded: Option<unsafe extern "C" fn(rq: HREQUEST, status: UINT, dataOrNull: LPCBYTE, dataLength: UINT) -> REQUEST_RESULT>§RequestSetFailed: Option<unsafe extern "C" fn(rq: HREQUEST, status: UINT, dataOrNull: LPCBYTE, dataLength: UINT) -> REQUEST_RESULT>§RequestAppendDataChunk: Option<unsafe extern "C" fn(rq: HREQUEST, data: LPCBYTE, dataLength: UINT) -> REQUEST_RESULT>§RequestSetRqHeader: Option<unsafe extern "C" fn(rq: HREQUEST, name: LPCWSTR, value: LPCWSTR) -> REQUEST_RESULT>§RequestSetRspHeader: Option<unsafe extern "C" fn(rq: HREQUEST, name: LPCWSTR, value: LPCWSTR) -> REQUEST_RESULT>§RequestSetReceivedDataType: Option<unsafe extern "C" fn(rq: HREQUEST, type_: LPCSTR) -> REQUEST_RESULT>§RequestSetReceivedDataEncoding: Option<unsafe extern "C" fn(rq: HREQUEST, encoding: LPCSTR) -> REQUEST_RESULT>§RequestGetData: Option<unsafe extern "C" fn(rq: HREQUEST, rcv: Option<unsafe extern "C" fn(arg1: LPCBYTE, arg2: UINT, arg3: LPVOID)>, rcv_param: LPVOID) -> REQUEST_RESULT>Trait Implementations§
Source§impl Clone for SciterRequestAPI
impl Clone for SciterRequestAPI
Source§fn clone(&self) -> SciterRequestAPI
fn clone(&self) -> SciterRequestAPI
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SciterRequestAPI
Source§impl Debug for SciterRequestAPI
impl Debug for SciterRequestAPI
Source§impl<'api> From<&'api SciterRequestAPI> for RequestApi<'api>
impl<'api> From<&'api SciterRequestAPI> for RequestApi<'api>
Source§fn from(value: &'api SciterRequestAPI) -> Self
fn from(value: &'api SciterRequestAPI) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SciterRequestAPI
impl RefUnwindSafe for SciterRequestAPI
impl Send for SciterRequestAPI
impl Sync for SciterRequestAPI
impl Unpin for SciterRequestAPI
impl UnsafeUnpin for SciterRequestAPI
impl UnwindSafe for SciterRequestAPI
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more