diff options
Diffstat (limited to 'modules/websocket/websocket_client.h')
| -rw-r--r-- | modules/websocket/websocket_client.h | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/modules/websocket/websocket_client.h b/modules/websocket/websocket_client.h index 0e87825222..6165f37d40 100644 --- a/modules/websocket/websocket_client.h +++ b/modules/websocket/websocket_client.h @@ -5,8 +5,8 @@  /*                           GODOT ENGINE                                */  /*                      https://godotengine.org                          */  /*************************************************************************/ -/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur.                 */ -/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)    */ +/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur.                 */ +/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md)    */  /*                                                                       */  /* Permission is hereby granted, free of charge, to any person obtaining */  /* a copy of this software and associated documentation files (the       */ @@ -41,12 +41,16 @@ class WebSocketClient : public WebSocketMultiplayerPeer {  protected:  	Ref<WebSocketPeer> _peer; +	bool verify_ssl;  	static void _bind_methods();  public:  	Error connect_to_url(String p_url, PoolVector<String> p_protocols = PoolVector<String>(), bool gd_mp_api = false); +	void set_verify_ssl_enabled(bool p_verify_ssl); +	bool is_verify_ssl_enabled() const; +  	virtual void poll() = 0;  	virtual Error connect_to_host(String p_host, String p_path, uint16_t p_port, bool p_ssl, PoolVector<String> p_protocol = PoolVector<String>()) = 0;  	virtual void disconnect_from_host() = 0; |