kore/includes
Joris Vink f867882f43 Add websocket support to Kore.
Introduces a few new api functions:

- kore_websocket_handshake(struct http_request *):
	Performs the handshake on an HTTP request (coming from page handler)

- kore_websocket_send(struct connection *, u_int8_t, void *, size_t):
	Sends data to a websocket connection.

- kore_websocket_broadcast(struct connection *, u_int8_t, void *, size_t, int):
	Broadcast the given websocket op and data to all connected
	websocket clients on the worker. Note that as of right now
	the WEBSOCKET_BROADCAST_GLOBAL scope option does not work
	yet and messages broadcasted will be restricted to workers
	only.

- kore_worker_websocket_broadcast(struct connection *, void *, void *):
	Backend function used by kore_websocket_broadcast().
	Could prove useful for developers to have access to.

A simple example is given under examples/websocket.

Known issues:
	Kore does not support PING or CONT frames just yet.
2014-11-24 11:08:34 +01:00
..
http.h Rework net, worker and some http internals. 2014-10-22 21:16:49 +02:00
kore.h Add websocket support to Kore. 2014-11-24 11:08:34 +01:00
pgsql.h Add kore_pgsql_getlength() which will return length of a column. 2014-09-28 23:03:49 +02:00
spdy.h Another round of spdy/3.1 improvements. 2014-08-10 18:18:27 +02:00
tasks.h Attach tasks/pgsqls to http_requests once more. 2014-08-14 22:05:34 +02:00