wslay
wslay copied to clipboard
Please add the "wslay_session_mem_recv" API
Are you the author of nghttp2? Please add an API like "nghttp2_session_mem_recv" to wslay.
"nghttp2_session_mem_recv" is great to use, and can actively parse data that already exists in memory, instead of passively calling the receive function in the IO interface like "recv_callback".
APIs for both different modes allow developers to more flexibly integrate wslay into existing application code.