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

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

#include "types.h"

Go to the source code of this file.

Classes

struct  ws_owire
 Streaming parser for Web Socket wire protocol (out-bound). More...

Typedefs

typedef uint64(* ws_owire_state )(struct ws_owire *, const uint8 *, uint64)

Enumerations

enum  ws_owire_error { ws_owire_eok, ws_owire_enotready }

Functions

void ws_owire_init (struct ws_owire *stream)
void ws_owire_new_message (struct ws_owire *stream)
void ws_owire_end_message (struct ws_owire *stream)
void ws_owire_new_frame (struct ws_owire *stream, uint64 size)
void ws_owire_end_frame (struct ws_owire *stream)
void ws_owire_last (struct ws_owire *stream)
void ws_owire_eval (struct ws_owire *stream, uint8 eval)
void ws_owire_code (struct ws_owire *stream, uint8 code)
void ws_owire_mask (struct ws_owire *stream)
uint64 ws_owire_feed (struct ws_owire *stream, const void *data, uint64 size)
void ws_owire_ping (struct ws_owire *stream)
void ws_owire_pong (struct ws_owire *stream)
void ws_owire_text (struct ws_owire *stream)
void ws_owire_data (struct ws_owire *stream)
void ws_owire_kill (struct ws_owire *stream)
void ws_owire_put_text (struct ws_owire *stream, const void *data, uint64 size)
void ws_owire_put_data (struct ws_owire *stream, const void *data, uint64 size)
void ws_owire_put_ping (struct ws_owire *stream, const void *data, uint64 size)
void ws_owire_put_pong (struct ws_owire *stream, const void *data, uint64 size)
void ws_owire_put_kill (struct ws_owire *stream, const void *data, uint64 size)

Detailed Description

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

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

Definition in file owire.h.

 All Classes Files Functions