Lines Matching defs:wsi
28 secstream_h1(struct lws *wsi, enum lws_callback_reasons reason, void *user,
32 secstream_h2(struct lws *wsi, enum lws_callback_reasons reason, void *user,
35 lws_ss_handle_t *h = (lws_ss_handle_t *)lws_get_opaque_user_data(wsi);
54 __func__, wsi->txc.tx_cr);
55 ss_proxy_onward_txcr((void *)(h + 1), wsi->txc.tx_cr);
59 n = secstream_h1(wsi, reason, user, in, len);
63 __func__, lws_wsi_tag(wsi));
64 lws_h2_client_stream_long_poll_rxonly(wsi);
70 * Only allow the wsi that the handle believes is representing
73 if (!h || h->wsi != wsi)
89 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */
91 return _lws_ss_handle_state_ret_CAN_DESTROY_HANDLE(r, wsi, &h);
117 return secstream_h1(wsi, reason, user, in, len);
198 if (h->wsi)
199 return lws_h2_update_peer_txcredit(h->wsi, (unsigned int)LWS_H2_STREAM_SID, add);
207 if (h->wsi) {
209 lws_h2_get_peer_txcredit_estimate(h->wsi));
211 return lws_h2_get_peer_txcredit_estimate(h->wsi);