Struct gdnative::HTTPClient
[−]
[src]
pub struct HTTPClient { /* fields omitted */ }
Methods
impl HTTPClient
[src]
pub fn connect_to_host(
&self,
host: GodotString,
port: i64,
use_ssl: bool,
verify_host: bool
) -> GodotResult
[src]
&self,
host: GodotString,
port: i64,
use_ssl: bool,
verify_host: bool
) -> GodotResult
pub fn set_connection(&self, connection: Option<GodotRef<StreamPeer>>)
[src]
pub fn get_connection(&self) -> Option<GodotRef<StreamPeer>>
[src]
pub fn request_raw(
&self,
method: i64,
url: GodotString,
headers: StringArray,
body: ByteArray
) -> GodotResult
[src]
&self,
method: i64,
url: GodotString,
headers: StringArray,
body: ByteArray
) -> GodotResult
pub fn request(
&self,
method: i64,
url: GodotString,
headers: StringArray,
body: GodotString
) -> GodotResult
[src]
&self,
method: i64,
url: GodotString,
headers: StringArray,
body: GodotString
) -> GodotResult
pub fn close(&self)
[src]
pub fn has_response(&self) -> bool
[src]
pub fn is_response_chunked(&self) -> bool
[src]
pub fn get_response_code(&self) -> i64
[src]
pub fn get_response_headers(&self) -> StringArray
[src]
pub fn get_response_headers_as_dictionary(&self) -> Dictionary
[src]
pub fn get_response_body_length(&self) -> i64
[src]
pub fn read_response_body_chunk(&self) -> ByteArray
[src]
pub fn set_read_chunk_size(&self, bytes: i64)
[src]
pub fn set_blocking_mode(&self, enabled: bool)
[src]
pub fn is_blocking_mode_enabled(&self) -> bool
[src]
pub fn poll(&self) -> GodotResult
[src]
pub fn query_string_from_dict(&self, fields: Dictionary) -> GodotString
[src]
Methods from Deref<Target = Reference>
pub fn init_ref(&self) -> bool
[src]
pub fn reference(&self) -> bool
[src]
pub fn unreference(&self) -> bool
[src]
Trait Implementations
impl GodotClass for HTTPClient
[src]
type ClassData = HTTPClient
type Reference = HTTPClient
fn godot_name() -> &'static str
[src]
unsafe fn register_class(_desc: *mut c_void)
[src]
fn godot_info(&self) -> &GodotClassInfo
[src]
unsafe fn reference(
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference
[src]
_this: *mut godot_object,
data: &Self::ClassData
) -> &Self::Reference