#include "wsl_peer.h"
#ifndef WEB_ENABLED
#include "core/io/stream_peer_tls.h"
CryptoCore::RandomGenerator *WSLPeer::_static_rng = …;
void WSLPeer::initialize() { … }
void WSLPeer::deinitialize() { … }
void WSLPeer::Resolver::start(const String &p_host, int p_port) { … }
void WSLPeer::Resolver::stop() { … }
void WSLPeer::Resolver::try_next_candidate(Ref<StreamPeerTCP> &p_tcp) { … }
Error WSLPeer::accept_stream(Ref<StreamPeer> p_stream) { … }
bool WSLPeer::_parse_client_request() { … }
Error WSLPeer::_do_server_handshake() { … }
void WSLPeer::_do_client_handshake() { … }
bool WSLPeer::_verify_server_response() { … }
Error WSLPeer::connect_to_url(const String &p_url, Ref<TLSOptions> p_options) { … }
ssize_t WSLPeer::_wsl_recv_callback(wslay_event_context_ptr ctx, uint8_t *data, size_t len, int flags, void *user_data) { … }
void WSLPeer::_wsl_recv_start_callback(wslay_event_context_ptr ctx, const struct wslay_event_on_frame_recv_start_arg *arg, void *user_data) { … }
void WSLPeer::_wsl_frame_recv_chunk_callback(wslay_event_context_ptr ctx, const struct wslay_event_on_frame_recv_chunk_arg *arg, void *user_data) { … }
void WSLPeer::_wsl_frame_recv_end_callback(wslay_event_context_ptr ctx, void *user_data) { … }
ssize_t WSLPeer::_wsl_send_callback(wslay_event_context_ptr ctx, const uint8_t *data, size_t len, int flags, void *user_data) { … }
int WSLPeer::_wsl_genmask_callback(wslay_event_context_ptr ctx, uint8_t *buf, size_t len, void *user_data) { … }
void WSLPeer::_wsl_msg_recv_callback(wslay_event_context_ptr ctx, const struct wslay_event_on_msg_recv_arg *arg, void *user_data) { … }
wslay_event_callbacks WSLPeer::_wsl_callbacks = …;
String WSLPeer::_generate_key() { … }
String WSLPeer::_compute_key_response(String p_key) { … }
void WSLPeer::poll() { … }
Error WSLPeer::_send(const uint8_t *p_buffer, int p_buffer_size, wslay_opcode p_opcode) { … }
Error WSLPeer::send(const uint8_t *p_buffer, int p_buffer_size, WriteMode p_mode) { … }
Error WSLPeer::put_packet(const uint8_t *p_buffer, int p_buffer_size) { … }
Error WSLPeer::get_packet(const uint8_t **r_buffer, int &r_buffer_size) { … }
int WSLPeer::get_available_packet_count() const { … }
int WSLPeer::get_current_outbound_buffered_amount() const { … }
void WSLPeer::close(int p_code, String p_reason) { … }
IPAddress WSLPeer::get_connected_host() const { … }
uint16_t WSLPeer::get_connected_port() const { … }
String WSLPeer::get_selected_protocol() const { … }
String WSLPeer::get_requested_url() const { … }
void WSLPeer::set_no_delay(bool p_enabled) { … }
void WSLPeer::_clear() { … }
WSLPeer::WSLPeer() { … }
WSLPeer::~WSLPeer() { … }
#endif