libwebsockets
Lightweight C library for HTML5 websockets
|
#include <lws-secure-streams-serialization.h>
Data Fields | |
const char * | name |
int(* | event_retry_connect )(lws_txp_path_client_t *path, struct lws_sspc_handle *h) |
lws_ss_state_return_t(* | event_connect_disposition )(struct lws_sspc_handle *h, int disposition) |
void(* | req_write )(lws_transport_priv_t priv) |
int(* | _write )(lws_transport_priv_t priv, uint8_t *buf, size_t len) |
lws_ss_state_return_t(* | event_read )(lws_transport_priv_t priv, const uint8_t *buf, size_t len) |
void(* | lost_coherence )(lws_transport_priv_t priv) |
void(* | _close )(lws_transport_priv_t priv) |
void(* | event_stream_up )(lws_transport_priv_t priv) |
void(* | event_client_up )(lws_transport_priv_t priv) |
lws_ss_state_return_t(* | event_can_write )(struct lws_sspc_handle *h, size_t metadata_limit) |
lws_ss_state_return_t(* | event_closed )(lws_transport_priv_t priv) |
uint32_t | flags |
uint32_t | dsh_splitat |
Definition at line 355 of file lws-secure-streams-serialization.h.
const char* lws_transport_client_ops::name |
Definition at line 356 of file lws-secure-streams-serialization.h.
int(* lws_transport_client_ops::event_retry_connect) (lws_txp_path_client_t *path, struct lws_sspc_handle *h) |
Attempt to create a new connection / channel to the proxy
Definition at line 358 of file lws-secure-streams-serialization.h.
lws_ss_state_return_t(* lws_transport_client_ops::event_connect_disposition) (struct lws_sspc_handle *h, int disposition) |
Connection attempt result, disposition 9 = success, else failed
Definition at line 361 of file lws-secure-streams-serialization.h.
void(* lws_transport_client_ops::req_write) (lws_transport_priv_t priv) |
Request a write to the proxy on this channel
Definition at line 364 of file lws-secure-streams-serialization.h.
int(* lws_transport_client_ops::_write) (lws_transport_priv_t priv, uint8_t *buf, size_t len) |
Write the requested data on the channel to the proxy *** MUST have LWS_PRE usable behind buf
Definition at line 366 of file lws-secure-streams-serialization.h.
lws_ss_state_return_t(* lws_transport_client_ops::event_read) (lws_transport_priv_t priv, const uint8_t *buf, size_t len) |
len bytes at buf have been received
Definition at line 369 of file lws-secure-streams-serialization.h.
void(* lws_transport_client_ops::lost_coherence) (lws_transport_priv_t priv) |
report that the framing inside the mux channel is broken
Definition at line 372 of file lws-secure-streams-serialization.h.
void(* lws_transport_client_ops::_close) (lws_transport_priv_t priv) |
Close the channel to the proxy
Definition at line 374 of file lws-secure-streams-serialization.h.
void(* lws_transport_client_ops::event_stream_up) (lws_transport_priv_t priv) |
Called when a new channel to the proxy is acknowledged as up
Definition at line 376 of file lws-secure-streams-serialization.h.
void(* lws_transport_client_ops::event_client_up) (lws_transport_priv_t priv) |
Called when a client channel is acknowledged as up
Definition at line 378 of file lws-secure-streams-serialization.h.
lws_ss_state_return_t(* lws_transport_client_ops::event_can_write) (struct lws_sspc_handle *h, size_t metadata_limit) |
Called when possible to write on the transport, after req_write
Definition at line 380 of file lws-secure-streams-serialization.h.
lws_ss_state_return_t(* lws_transport_client_ops::event_closed) (lws_transport_priv_t priv) |
we notice an onward proxy connection had closed
Definition at line 383 of file lws-secure-streams-serialization.h.
uint32_t lws_transport_client_ops::flags |
Used for DSH creation flags
Definition at line 385 of file lws-secure-streams-serialization.h.
uint32_t lws_transport_client_ops::dsh_splitat |
Definition at line 387 of file lws-secure-streams-serialization.h.