Skip to main content

IUnityWebRequestMethods

Trait IUnityWebRequestMethods 

Source
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§

Source

fn get_dispose_certificate_handler_on_dispose(self) -> bool

get_disposeCertificateHandlerOnDispose() overload

Source

fn set_dispose_certificate_handler_on_dispose(self, value: impl Into<bool>)

set_disposeCertificateHandlerOnDispose(bool) overload

Source

fn get_dispose_download_handler_on_dispose(self) -> bool

get_disposeDownloadHandlerOnDispose() overload

Source

fn set_dispose_download_handler_on_dispose(self, value: impl Into<bool>)

set_disposeDownloadHandlerOnDispose(bool) overload

Source

fn get_dispose_upload_handler_on_dispose(self) -> bool

get_disposeUploadHandlerOnDispose() overload

Source

fn set_dispose_upload_handler_on_dispose(self, value: impl Into<bool>)

set_disposeUploadHandlerOnDispose(bool) overload

Source

fn release(self)

Release() overload

Source

fn internal_destroy(self)

InternalDestroy() overload

Source

fn internal_set_defaults(self)

InternalSetDefaults() overload

Source

fn ctor(self, url: impl Into<Il2CppString>, method: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

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

Source

fn finalize(self)

Finalize() overload

Source

fn dispose(self)

Dispose() overload

Source

fn dispose_handlers(self)

DisposeHandlers() overload

Source

fn begin_web_request(self) -> UnityWebRequestAsyncOperation

BeginWebRequest() overload

Source

fn send_web_request(self) -> UnityWebRequestAsyncOperation

SendWebRequest() overload

Source

fn abort(self)

Abort() overload

Source

fn set_method( self, method_type: impl Into<UnityWebRequest_UnityWebRequestMethod>, ) -> UnityWebRequest_UnityWebRequestError

SetMethod(crate::unity_engine::networking::unitywebrequest::UnityWebRequest_UnityWebRequestMethod) overload

Source

fn internal_set_method( self, method_type: impl Into<UnityWebRequest_UnityWebRequestMethod>, )

InternalSetMethod(crate::unity_engine::networking::unitywebrequest::UnityWebRequest_UnityWebRequestMethod) overload

Source

fn set_custom_method( self, custom_method_name: impl Into<Il2CppString>, ) -> UnityWebRequest_UnityWebRequestError

SetCustomMethod(::unity::Il2CppString) overload

Source

fn internal_set_custom_method(self, custom_method_name: impl Into<Il2CppString>)

InternalSetCustomMethod(::unity::Il2CppString) overload

Source

fn get_method(self) -> UnityWebRequest_UnityWebRequestMethod

GetMethod() overload

Source

fn get_custom_method(self) -> Il2CppString

GetCustomMethod() overload

Source

fn set_method_2(self, value: impl Into<Il2CppString>)

set_method(::unity::Il2CppString) overload

Source

fn get_error(self) -> UnityWebRequest_UnityWebRequestError

GetError() overload

Source

fn get_url(self) -> Il2CppString

get_url() overload

Source

fn set_url(self, value: impl Into<Il2CppString>)

set_url(::unity::Il2CppString) overload

Source

fn internal_set_url(self, url: impl Into<Il2CppString>)

InternalSetUrl(::unity::Il2CppString) overload

Source

fn get_response_code(self) -> i64

get_responseCode() overload

Source

fn is_executing(self) -> bool

IsExecuting() overload

Source

fn get_is_modifiable(self) -> bool

get_isModifiable() overload

Source

fn get_is_done(self) -> bool

get_isDone() overload

Source

fn get_result(self) -> UnityWebRequest_Result

get_result() overload

Source

fn get_download_progress(self) -> f32

GetDownloadProgress() overload

Source

fn get_downloaded_bytes(self) -> u64

get_downloadedBytes() overload

Source

fn set_redirect_limit_from_scripting(self, limit: impl Into<i32>)

SetRedirectLimitFromScripting(i32) overload

Source

fn set_redirect_limit(self, value: impl Into<i32>)

set_redirectLimit(i32) overload

Source

fn set_chunked( self, chunked: impl Into<bool>, ) -> UnityWebRequest_UnityWebRequestError

SetChunked(bool) overload

Source

fn set_chunked_transfer(self, value: impl Into<bool>)

set_chunkedTransfer(bool) overload

Source

fn internal_set_request_header( self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>, ) -> UnityWebRequest_UnityWebRequestError

InternalSetRequestHeader(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn set_request_header( self, name: impl Into<Il2CppString>, value: impl Into<Il2CppString>, )

SetRequestHeader(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn get_response_header(self, name: impl Into<Il2CppString>) -> Il2CppString

GetResponseHeader(::unity::Il2CppString) overload

Source

fn get_response_header_keys(self) -> Array<Il2CppString>

GetResponseHeaderKeys() overload

Source

fn get_response_headers(self) -> Dictionary_2<Il2CppString, Il2CppString>

GetResponseHeaders() overload

Source

fn set_upload_handler( self, uh: impl Into<UploadHandler>, ) -> UnityWebRequest_UnityWebRequestError

SetUploadHandler(crate::unity_engine::networking::uploadhandler::UploadHandler) overload

Source

fn get_upload_handler(self) -> UploadHandler

get_uploadHandler() overload

Source

fn set_download_handler( self, dh: impl Into<DownloadHandler>, ) -> UnityWebRequest_UnityWebRequestError

SetDownloadHandler(crate::unity_engine::networking::downloadhandler::DownloadHandler) overload

Source

fn get_download_handler(self) -> DownloadHandler

get_downloadHandler() overload

Source

fn set_certificate_handler( self, ch: impl Into<CertificateHandler>, ) -> UnityWebRequest_UnityWebRequestError

SetCertificateHandler(crate::unity_engine::networking::certificatehandler::CertificateHandler) overload

Source

fn get_certificate_handler(self) -> CertificateHandler

get_certificateHandler() overload

Source

fn set_timeout_msec( self, timeout: impl Into<i32>, ) -> UnityWebRequest_UnityWebRequestError

SetTimeoutMsec(i32) overload

Source

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§

Source§

impl<__T: IUnityWebRequest> IUnityWebRequestMethods for __T

Available on crate feature unity_engine-networking-unitywebrequest only.