mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
add ws
This commit is contained in:
22
libs/libwebsockets/lib/extension.c
Normal file
22
libs/libwebsockets/lib/extension.c
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "private-libwebsockets.h"
|
||||
|
||||
#include "extension-deflate-stream.h"
|
||||
#include "extension-x-google-mux.h"
|
||||
|
||||
struct libwebsocket_extension libwebsocket_internal_extensions[] = {
|
||||
#ifdef LWS_EXT_GOOGLE_MUX
|
||||
{
|
||||
"x-google-mux",
|
||||
lws_extension_callback_x_google_mux,
|
||||
sizeof (struct lws_ext_x_google_mux_conn)
|
||||
},
|
||||
#endif
|
||||
{
|
||||
"deflate-stream",
|
||||
lws_extension_callback_deflate_stream,
|
||||
sizeof (struct lws_ext_deflate_stream_conn)
|
||||
},
|
||||
{ /* terminator */
|
||||
NULL, NULL, 0
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user