commit 6a43dd529c529fae196e822352ef3687bbb7811a
parent 3d3d705b985eda8499146e1533e0ea7862438961
Author: Joris Vink <joris@coders.se>
Date: Mon, 30 Jan 2017 21:02:58 +0100
export WEBSOCKET_OP_TEXT and WEBSOCKET_OP_BINARY.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/python.c b/src/python.c
@@ -105,6 +105,8 @@ static struct {
{ "METHOD_HEAD", HTTP_METHOD_HEAD },
{ "METHOD_POST", HTTP_METHOD_POST },
{ "METHOD_DELETE", HTTP_METHOD_DELETE },
+ { "WEBSOCKET_OP_TEXT", WEBSOCKET_OP_TEXT },
+ { "WEBSOCKET_OP_BINARY", WEBSOCKET_OP_BINARY },
{ "WEBSOCKET_BROADCAST_LOCAL", WEBSOCKET_BROADCAST_LOCAL },
{ "WEBSOCKET_BROADCAST_GLOBAL", WEBSOCKET_BROADCAST_GLOBAL },
#endif