Searched refs:rws_socket (Results 1 – 6 of 6) sorted by relevance
135 rws_bool rws_socket_recv(rws_socket s);152 void rws_socket_idle_recv(rws_socket s);154 void rws_socket_idle_send(rws_socket s);160 rws_bool rws_socket_send_ping_priv(rws_socket s);162 void rws_socket_send_disconnect(rws_socket s);164 void rws_socket_send_handshake(rws_socket s);168 void rws_socket_connect_to_host(rws_socket s);172 void rws_socket_close(rws_socket s);196 void rws_socket_delete(rws_socket s);199 int rws_ssl_conn(rws_socket s);[all …]
121 typedef struct rws_socket_struct * rws_socket; typedef157 typedef void (*rws_on_socket)(rws_socket socket);182 typedef void (*rws_on_socket_recvd_pong)(rws_socket socket);189 typedef void (*rws_on_socket_send_ping)(rws_socket socket);197 RWS_API(rws_socket) rws_socket_create(void);212 RWS_API(void) rws_socket_set_url(rws_socket socket,254 RWS_API(const char *) rws_socket_get_host(rws_socket socket);273 RWS_API(int) rws_socket_get_port(rws_socket socket);323 RWS_API(rws_error) rws_socket_get_error(rws_socket socket);332 RWS_API(rws_bool) rws_socket_connect(rws_socket socket);[all …]
32 rws_bool rws_socket_connect(rws_socket socket) { in rws_socket_connect()130 rws_bool rws_socket_send_ping(rws_socket socket) { in rws_socket_send_ping()156 rws_socket rws_socket_create(void) { in rws_socket_create()157 rws_socket s = (rws_socket)rws_malloc_zero(sizeof(struct rws_socket_struct)); in rws_socket_create()183 void rws_socket_delete(rws_socket s) { in rws_socket_delete()218 void rws_socket_set_url(rws_socket socket, in rws_socket_set_url()255 const char * rws_socket_get_host(rws_socket socket) { in rws_socket_get_host()266 const char * rws_socket_get_path(rws_socket socket) { in rws_socket_get_path()276 int rws_socket_get_port(rws_socket socket) { in rws_socket_get_port()316 rws_error rws_socket_get_error(rws_socket socket) { in rws_socket_get_error()[all …]
49 rws_bool rws_socket_send_ping_priv(rws_socket s) { in rws_socket_send_ping_priv()67 void rws_socket_inform_recvd_frames(rws_socket s) { in rws_socket_inform_recvd_frames()221 rws_bool rws_socket_recv(rws_socket s) { in rws_socket_recv()384 void rws_socket_idle_recv(rws_socket s) { in rws_socket_idle_recv()412 void rws_socket_idle_send(rws_socket s) { in rws_socket_idle_send()468 void rws_socket_send_disconnect(rws_socket s) { in rws_socket_send_disconnect()489 void rws_socket_send_handshake(rws_socket s) { in rws_socket_send_handshake()618 rws_socket s = (rws_socket)user_object; in rws_socket_work_th_func()729 void rws_socket_close(rws_socket s) { in rws_socket_close()1098 int rws_ssl_conn(rws_socket s) in rws_ssl_conn()[all …]
26 │ ├── rws_socket.h # 内部头文件62 rws_socket rws_socket_create(void)71 void rws_socket_set_url(rws_socket socket, 139 const char * rws_socket_get_host(rws_socket socket)148 const char * rws_socket_get_host(rws_socket socket)157 int rws_socket_get_port(rws_socket socket)166 const char * rws_socket_get_path(rws_socket socket)186 rws_error rws_socket_get_error(rws_socket socket)195 rws_bool rws_socket_connect(rws_socket socket)213 rws_bool rws_socket_is_connected(rws_socket socket);[all …]
72 static rws_socket _socket = NULL;75 static void on_socket_received_text(rws_socket socket, const char *text, const unsigned int length,… in on_socket_received_text()100 static void on_socket_received_bin(rws_socket socket, const void * data, const unsigned int length,… in on_socket_received_bin()125 static void on_socket_received_pong(rws_socket socket) in on_socket_received_pong()134 static void on_socket_connected(rws_socket socket) in on_socket_connected()146 static void on_socket_disconnected(rws_socket socket) in on_socket_disconnected()
Completed in 15 milliseconds