cwebs 0.2
WebSocket wire protocol.
code/iwire.h File Reference

Web Socket wire protocol (in-bound) for C. More...

#include "types.h"

Go to the source code of this file.

Classes

struct  ws_iwire
 Streaming parser for Web Socket wire protocol (in-bound). More...

Typedefs

typedef uint64(* ws_iwire_state )(struct ws_iwire *, const uint8 *, uint64)

Functions

void ws_iwire_init (struct ws_iwire *stream)
uint64 ws_iwire_feed (struct ws_iwire *stream, const void *data, uint64 size)
int ws_iwire_mask (const struct ws_iwire *stream)
int ws_iwire_last (const struct ws_iwire *stream)
int ws_iwire_ping (const struct ws_iwire *stream)
int ws_iwire_pong (const struct ws_iwire *stream)
int ws_iwire_text (const struct ws_iwire *stream)
int ws_iwire_data (const struct ws_iwire *stream)
int ws_iwire_dead (const struct ws_iwire *stream)

Detailed Description

Web Socket wire protocol (in-bound) for C.

See also:
http://tools.ietf.org/html/rfc6455

Definition in file iwire.h.

 All Classes Files Functions