mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix some issues found by cppcheck.
This commit is contained in:
parent
72407a9cfb
commit
f851c4aa33
163 changed files with 776 additions and 767 deletions
|
@ -73,15 +73,15 @@ private:
|
|||
bool _verify_headers(String &r_protocol);
|
||||
|
||||
public:
|
||||
Error set_buffers(int p_in_buffer, int p_in_packets, int p_out_buffer, int p_out_packets);
|
||||
Error connect_to_host(String p_host, String p_path, uint16_t p_port, bool p_ssl, const Vector<String> p_protocol = Vector<String>(), const Vector<String> p_custom_headers = Vector<String>());
|
||||
int get_max_packet_size() const;
|
||||
Ref<WebSocketPeer> get_peer(int p_peer_id) const;
|
||||
void disconnect_from_host(int p_code = 1000, String p_reason = "");
|
||||
IPAddress get_connected_host() const;
|
||||
uint16_t get_connected_port() const;
|
||||
virtual ConnectionStatus get_connection_status() const;
|
||||
virtual void poll();
|
||||
Error set_buffers(int p_in_buffer, int p_in_packets, int p_out_buffer, int p_out_packets) override;
|
||||
Error connect_to_host(String p_host, String p_path, uint16_t p_port, bool p_ssl, const Vector<String> p_protocol = Vector<String>(), const Vector<String> p_custom_headers = Vector<String>()) override;
|
||||
int get_max_packet_size() const override;
|
||||
Ref<WebSocketPeer> get_peer(int p_peer_id) const override;
|
||||
void disconnect_from_host(int p_code = 1000, String p_reason = "") override;
|
||||
IPAddress get_connected_host() const override;
|
||||
uint16_t get_connected_port() const override;
|
||||
virtual ConnectionStatus get_connection_status() const override;
|
||||
virtual void poll() override;
|
||||
|
||||
WSLClient();
|
||||
~WSLClient();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue