add_websocket_extension
Description:
Add support for a WebSocket extension of the given extension_type.
When a WebSocket client requests an extension of extension_type, a new
WebsocketExtension of type extension_type will be
created to handle the request.
You can also add support for a WebSocket extension to the server at construct time by using the SOUP_SERVER_ADD_WEBSOCKET_EXTENSION
property. Note that WebsocketExtensionDeflate is supported
by default, use remove_websocket_extension if you want to
disable it.
Parameters:
| this |
a Server |
| extension_type |
a Type |