mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Use const ref parameters in the Web modules
This commit is contained in:
parent
b4472f4670
commit
ac2e01684c
19 changed files with 80 additions and 80 deletions
|
|
@ -86,9 +86,9 @@ public:
|
|||
|
||||
// WebSocketPeer
|
||||
virtual Error send(const uint8_t *p_buffer, int p_buffer_size, WriteMode p_mode) override;
|
||||
virtual Error connect_to_url(const String &p_url, Ref<TLSOptions> p_tls_client_options) override;
|
||||
virtual Error accept_stream(Ref<StreamPeer> p_stream) override;
|
||||
virtual void close(int p_code = 1000, String p_reason = "") override;
|
||||
virtual Error connect_to_url(const String &p_url, const Ref<TLSOptions> &p_tls_client_options) override;
|
||||
virtual Error accept_stream(const Ref<StreamPeer> &p_stream) override;
|
||||
virtual void close(int p_code = 1000, const String &p_reason = "") override;
|
||||
virtual void poll() override;
|
||||
|
||||
virtual State get_ready_state() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue