pub trait IUnityWebRequestMethods: IUnityWebRequest {
Show 52 methods
// Provided methods
fn get_dispose_certificate_handler_on_dispose(self) -> bool { ... }
fn set_dispose_certificate_handler_on_dispose(self, value: impl Into<bool>) { ... }
fn get_dispose_download_handler_on_dispose(self) -> bool { ... }
fn set_dispose_download_handler_on_dispose(self, value: impl Into<bool>) { ... }
fn get_dispose_upload_handler_on_dispose(self) -> bool { ... }
fn set_dispose_upload_handler_on_dispose(self, value: impl Into<bool>) { ... }
fn release(self) { ... }
fn internal_destroy(self) { ... }
fn internal_set_defaults(self) { ... }
fn ctor(self, url: impl Into<Il2CppString>, method: impl Into<Il2CppString>) { ... }
fn ctor_2(
self,
url: impl Into<Il2CppString>,
method: impl Into<Il2CppString>,
download_handler: impl Into<DownloadHandler>,
upload_handler: impl Into<UploadHandler>,
) { ... }
fn finalize(self) { ... }
fn dispose(self) { ... }
fn dispose_handlers(self) { ... }
fn begin_web_request(self) -> UnityWebRequestAsyncOperation { ... }
fn send_web_request(self) -> UnityWebRequestAsyncOperation { ... }
fn abort(self) { ... }
fn set_method(
self,
method_type: impl Into<UnityWebRequest_UnityWebRequestMethod>,
) -> UnityWebRequest_UnityWebRequestError { ... }
fn internal_set_method(
self,
method_type: impl Into<UnityWebRequest_UnityWebRequestMethod>,
) { ... }
fn set_custom_method(
self,
custom_method_name: impl Into<Il2CppString>,
) -> UnityWebRequest_UnityWebRequestError { ... }
fn internal_set_custom_method(
self,
custom_method_name: impl Into<Il2CppString>,
) { ... }
fn get_method(self) -> UnityWebRequest_UnityWebRequestMethod { ... }
fn get_custom_method(self) -> Il2CppString { ... }
fn set_method_2(self, value: impl Into<Il2CppString>) { ... }
fn get_error(self) -> UnityWebRequest_UnityWebRequestError { ... }
fn get_url(self) -> Il2CppString { ... }
fn set_url(self, value: impl Into<Il2CppString>) { ... }
fn internal_set_url(self, url: impl Into<Il2CppString>) { ... }
fn get_response_code(self) -> i64 { ... }
fn is_executing(self) -> bool { ... }
fn get_is_modifiable(self) -> bool { ... }
fn get_is_done(self) -> bool { ... }
fn get_result(self) -> UnityWebRequest_Result { ... }
fn get_download_progress(self) -> f32 { ... }
fn get_downloaded_bytes(self) -> u64 { ... }
fn set_redirect_limit_from_scripting(self, limit: impl Into<i32>) { ... }
fn set_redirect_limit(self, value: impl Into<i32>) { ... }
fn set_chunked(
self,
chunked: impl Into<bool>,
) -> UnityWebRequest_UnityWebRequestError { ... }
fn set_chunked_transfer(self, value: impl Into<bool>) { ... }
fn internal_set_request_header(
self,
name: impl Into<Il2CppString>,
value: impl Into<Il2CppString>,
) -> UnityWebRequest_UnityWebRequestError { ... }
fn set_request_header(
self,
name: impl Into<Il2CppString>,
value: impl Into<Il2CppString>,
) { ... }
fn get_response_header(self, name: impl Into<Il2CppString>) -> Il2CppString { ... }
fn get_response_header_keys(self) -> Array<Il2CppString> { ... }
fn get_response_headers(self) -> Dictionary_2<Il2CppString, Il2CppString> { ... }
fn set_upload_handler(
self,
uh: impl Into<UploadHandler>,
) -> UnityWebRequest_UnityWebRequestError { ... }
fn get_upload_handler(self) -> UploadHandler { ... }
fn set_download_handler(
self,
dh: impl Into<DownloadHandler>,
) -> UnityWebRequest_UnityWebRequestError { ... }
fn get_download_handler(self) -> DownloadHandler { ... }
fn set_certificate_handler(
self,
ch: impl Into<CertificateHandler>,
) -> UnityWebRequest_UnityWebRequestError { ... }
fn get_certificate_handler(self) -> CertificateHandler { ... }
fn set_timeout_msec(
self,
timeout: impl Into<i32>,
) -> UnityWebRequest_UnityWebRequestError { ... }
fn set_timeout(self, value: impl Into<i32>) { ... }
}Provided Methods§
Sourcefn get_dispose_certificate_handler_on_dispose(self) -> bool
fn get_dispose_certificate_handler_on_dispose(self) -> bool
get_disposeCertificateHandlerOnDispose() overload
Sourcefn set_dispose_certificate_handler_on_dispose(self, value: impl Into<bool>)
fn set_dispose_certificate_handler_on_dispose(self, value: impl Into<bool>)
set_disposeCertificateHandlerOnDispose(bool) overload
Sourcefn get_dispose_download_handler_on_dispose(self) -> bool
fn get_dispose_download_handler_on_dispose(self) -> bool
get_disposeDownloadHandlerOnDispose() overload
Sourcefn set_dispose_download_handler_on_dispose(self, value: impl Into<bool>)
fn set_dispose_download_handler_on_dispose(self, value: impl Into<bool>)
set_disposeDownloadHandlerOnDispose(bool) overload
Sourcefn get_dispose_upload_handler_on_dispose(self) -> bool
fn get_dispose_upload_handler_on_dispose(self) -> bool
get_disposeUploadHandlerOnDispose() overload
Sourcefn set_dispose_upload_handler_on_dispose(self, value: impl Into<bool>)
fn set_dispose_upload_handler_on_dispose(self, value: impl Into<bool>)
set_disposeUploadHandlerOnDispose(bool) overload
Sourcefn internal_destroy(self)
fn internal_destroy(self)
InternalDestroy() overload
Sourcefn internal_set_defaults(self)
fn internal_set_defaults(self)
InternalSetDefaults() overload
Sourcefn ctor(self, url: impl Into<Il2CppString>, method: impl Into<Il2CppString>)
fn ctor(self, url: impl Into<Il2CppString>, method: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn ctor_2(
self,
url: impl Into<Il2CppString>,
method: impl Into<Il2CppString>,
download_handler: impl Into<DownloadHandler>,
upload_handler: impl Into<UploadHandler>,
)
fn ctor_2( self, url: impl Into<Il2CppString>, method: impl Into<Il2CppString>, download_handler: impl Into<DownloadHandler>, upload_handler: impl Into<UploadHandler>, )
.ctor(::unity::Il2CppString, ::unity::Il2CppString, crate::unity_engine::networking::downloadhandler::DownloadHandler, crate::unity_engine::networking::uploadhandler::UploadHandler) overload
Sourcefn dispose_handlers(self)
fn dispose_handlers(self)
DisposeHandlers() overload
Sourcefn begin_web_request(self) -> UnityWebRequestAsyncOperation
fn begin_web_request(self) -> UnityWebRequestAsyncOperation
BeginWebRequest() overload
Sourcefn send_web_request(self) -> UnityWebRequestAsyncOperation
fn send_web_request(self) -> UnityWebRequestAsyncOperation
SendWebRequest() overload
Sourcefn set_method(
self,
method_type: impl Into<UnityWebRequest_UnityWebRequestMethod>,
) -> UnityWebRequest_UnityWebRequestError
fn set_method( self, method_type: impl Into<UnityWebRequest_UnityWebRequestMethod>, ) -> UnityWebRequest_UnityWebRequestError
SetMethod(crate::unity_engine::networking::unitywebrequest::UnityWebRequest_UnityWebRequestMethod) overload
Sourcefn internal_set_method(
self,
method_type: impl Into<UnityWebRequest_UnityWebRequestMethod>,
)
fn internal_set_method( self, method_type: impl Into<UnityWebRequest_UnityWebRequestMethod>, )
InternalSetMethod(crate::unity_engine::networking::unitywebrequest::UnityWebRequest_UnityWebRequestMethod) overload
Sourcefn set_custom_method(
self,
custom_method_name: impl Into<Il2CppString>,
) -> UnityWebRequest_UnityWebRequestError
fn set_custom_method( self, custom_method_name: impl Into<Il2CppString>, ) -> UnityWebRequest_UnityWebRequestError
SetCustomMethod(::unity::Il2CppString) overload
Sourcefn internal_set_custom_method(self, custom_method_name: impl Into<Il2CppString>)
fn internal_set_custom_method(self, custom_method_name: impl Into<Il2CppString>)
InternalSetCustomMethod(::unity::Il2CppString) overload
Sourcefn get_method(self) -> UnityWebRequest_UnityWebRequestMethod
fn get_method(self) -> UnityWebRequest_UnityWebRequestMethod
GetMethod() overload
Sourcefn get_custom_method(self) -> Il2CppString
fn get_custom_method(self) -> Il2CppString
GetCustomMethod() overload
Sourcefn set_method_2(self, value: impl Into<Il2CppString>)
fn set_method_2(self, value: impl Into<Il2CppString>)
set_method(::unity::Il2CppString) overload
Sourcefn get_error(self) -> UnityWebRequest_UnityWebRequestError
fn get_error(self) -> UnityWebRequest_UnityWebRequestError
GetError() overload
Sourcefn get_url(self) -> Il2CppString
fn get_url(self) -> Il2CppString
get_url() overload
Sourcefn set_url(self, value: impl Into<Il2CppString>)
fn set_url(self, value: impl Into<Il2CppString>)
set_url(::unity::Il2CppString) overload
Sourcefn internal_set_url(self, url: impl Into<Il2CppString>)
fn internal_set_url(self, url: impl Into<Il2CppString>)
InternalSetUrl(::unity::Il2CppString) overload
Sourcefn get_response_code(self) -> i64
fn get_response_code(self) -> i64
get_responseCode() overload
Sourcefn is_executing(self) -> bool
fn is_executing(self) -> bool
IsExecuting() overload
Sourcefn get_is_modifiable(self) -> bool
fn get_is_modifiable(self) -> bool
get_isModifiable() overload
Sourcefn get_is_done(self) -> bool
fn get_is_done(self) -> bool
get_isDone() overload
Sourcefn get_result(self) -> UnityWebRequest_Result
fn get_result(self) -> UnityWebRequest_Result
get_result() overload
Sourcefn get_download_progress(self) -> f32
fn get_download_progress(self) -> f32
GetDownloadProgress() overload
Sourcefn get_downloaded_bytes(self) -> u64
fn get_downloaded_bytes(self) -> u64
get_downloadedBytes() overload
Sourcefn set_redirect_limit_from_scripting(self, limit: impl Into<i32>)
fn set_redirect_limit_from_scripting(self, limit: impl Into<i32>)
SetRedirectLimitFromScripting(i32) overload
Sourcefn set_redirect_limit(self, value: impl Into<i32>)
fn set_redirect_limit(self, value: impl Into<i32>)
set_redirectLimit(i32) overload
Sourcefn set_chunked(
self,
chunked: impl Into<bool>,
) -> UnityWebRequest_UnityWebRequestError
fn set_chunked( self, chunked: impl Into<bool>, ) -> UnityWebRequest_UnityWebRequestError
SetChunked(bool) overload
Sourcefn set_chunked_transfer(self, value: impl Into<bool>)
fn set_chunked_transfer(self, value: impl Into<bool>)
set_chunkedTransfer(bool) overload
Sourcefn internal_set_request_header(
self,
name: impl Into<Il2CppString>,
value: impl Into<Il2CppString>,
) -> UnityWebRequest_UnityWebRequestError
fn internal_set_request_header( self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>, ) -> UnityWebRequest_UnityWebRequestError
InternalSetRequestHeader(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn set_request_header(
self,
name: impl Into<Il2CppString>,
value: impl Into<Il2CppString>,
)
fn set_request_header( self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>, )
SetRequestHeader(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn get_response_header(self, name: impl Into<Il2CppString>) -> Il2CppString
fn get_response_header(self, name: impl Into<Il2CppString>) -> Il2CppString
GetResponseHeader(::unity::Il2CppString) overload
Sourcefn get_response_header_keys(self) -> Array<Il2CppString>
fn get_response_header_keys(self) -> Array<Il2CppString>
GetResponseHeaderKeys() overload
Sourcefn get_response_headers(self) -> Dictionary_2<Il2CppString, Il2CppString>
fn get_response_headers(self) -> Dictionary_2<Il2CppString, Il2CppString>
GetResponseHeaders() overload
Sourcefn set_upload_handler(
self,
uh: impl Into<UploadHandler>,
) -> UnityWebRequest_UnityWebRequestError
fn set_upload_handler( self, uh: impl Into<UploadHandler>, ) -> UnityWebRequest_UnityWebRequestError
SetUploadHandler(crate::unity_engine::networking::uploadhandler::UploadHandler) overload
Sourcefn get_upload_handler(self) -> UploadHandler
fn get_upload_handler(self) -> UploadHandler
get_uploadHandler() overload
Sourcefn set_download_handler(
self,
dh: impl Into<DownloadHandler>,
) -> UnityWebRequest_UnityWebRequestError
fn set_download_handler( self, dh: impl Into<DownloadHandler>, ) -> UnityWebRequest_UnityWebRequestError
SetDownloadHandler(crate::unity_engine::networking::downloadhandler::DownloadHandler) overload
Sourcefn get_download_handler(self) -> DownloadHandler
fn get_download_handler(self) -> DownloadHandler
get_downloadHandler() overload
Sourcefn set_certificate_handler(
self,
ch: impl Into<CertificateHandler>,
) -> UnityWebRequest_UnityWebRequestError
fn set_certificate_handler( self, ch: impl Into<CertificateHandler>, ) -> UnityWebRequest_UnityWebRequestError
SetCertificateHandler(crate::unity_engine::networking::certificatehandler::CertificateHandler) overload
Sourcefn get_certificate_handler(self) -> CertificateHandler
fn get_certificate_handler(self) -> CertificateHandler
get_certificateHandler() overload
Sourcefn set_timeout_msec(
self,
timeout: impl Into<i32>,
) -> UnityWebRequest_UnityWebRequestError
fn set_timeout_msec( self, timeout: impl Into<i32>, ) -> UnityWebRequest_UnityWebRequestError
SetTimeoutMsec(i32) overload
Sourcefn set_timeout(self, value: impl Into<i32>)
fn set_timeout(self, value: impl Into<i32>)
set_timeout(i32) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IUnityWebRequest> IUnityWebRequestMethods for __T
unity_engine-networking-unitywebrequest only.