summaryrefslogtreecommitdiff
path: root/src/examples/ecore/Makefile.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-08-30 00:28:00 -0300
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-09-02 00:08:50 -0300
commite12afd772cef959ae1e58746f3bb41b26da30744 (patch)
tree82a23663fb1c47e45706b0fdeb0cc669743bb3c7 /src/examples/ecore/Makefile.am
parent57e765a758243ae326db1d8393242717b9fa2b04 (diff)
efl_net_dialer_websocket: EFL now does WebSocket!
The Efl.Net.Dialer.Websocket is just like other Efl.Net.Dialers: you can dial, you can close, monitor connected/address resolved and so on. And you can use WebSocket primitives and events such as text_send(), binary_send(), ping() and close_request() (since WebSockets use a close process where you should state a close reason). See efl_net_dialer_websocket_example.c Even if WebSocket is a message-based protocol (like "packets" from UDP), you can use efl_net_dialer_websocket_streaming_mode_set() to tell it to handle text or binary messages as a stream. Then all the Efl.Io.Reader and Efl.Io.Writer APIs work as expected, see efl_io_copier_example.c updates.
Diffstat (limited to 'src/examples/ecore/Makefile.am')
-rw-r--r--src/examples/ecore/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index 16a8693319..79c1e9c58e 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -81,7 +81,9 @@ efl_io_copier_example \
81efl_io_copier_simple_example \ 81efl_io_copier_simple_example \
82efl_io_queue_example \ 82efl_io_queue_example \
83efl_net_server_example \ 83efl_net_server_example \
84efl_net_dialer_http_example 84efl_net_dialer_http_example \
85efl_net_dialer_websocket_example \
86efl_net_dialer_websocket_autobahntestee
85 87
86ECORE_COMMON_LDADD = \ 88ECORE_COMMON_LDADD = \
87$(top_builddir)/src/lib/ecore/libecore.la \ 89$(top_builddir)/src/lib/ecore/libecore.la \
@@ -297,6 +299,12 @@ efl_net_server_example_LDADD = $(ECORE_CON_COMMON_LDADD)
297efl_net_dialer_http_example_SOURCES = efl_net_dialer_http_example.c 299efl_net_dialer_http_example_SOURCES = efl_net_dialer_http_example.c
298efl_net_dialer_http_example_LDADD = $(ECORE_CON_COMMON_LDADD) 300efl_net_dialer_http_example_LDADD = $(ECORE_CON_COMMON_LDADD)
299 301
302efl_net_dialer_websocket_example_SOURCES = efl_net_dialer_websocket_example.c
303efl_net_dialer_websocket_example_LDADD = $(ECORE_CON_COMMON_LDADD)
304
305efl_net_dialer_websocket_autobahntestee_SOURCES = efl_net_dialer_websocket_autobahntestee.c
306efl_net_dialer_websocket_autobahntestee_LDADD = $(ECORE_CON_COMMON_LDADD)
307
300SRCS = \ 308SRCS = \
301ecore_animator_example.c \ 309ecore_animator_example.c \
302ecore_buffer_example.c \ 310ecore_buffer_example.c \
@@ -347,7 +355,9 @@ efl_io_copier_example.c \
347efl_io_copier_simple_example.c \ 355efl_io_copier_simple_example.c \
348efl_io_queue_example.c \ 356efl_io_queue_example.c \
349efl_net_server_example.c \ 357efl_net_server_example.c \
350efl_net_dialer_http_example.c 358efl_net_dialer_http_example.c \
359efl_net_dialer_websocket_example.c \
360efl_net_dialer_websocket_autobahntestee.c
351 361
352DATA_FILES = red.png Makefile.examples 362DATA_FILES = red.png Makefile.examples
353 363