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

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

#include "owire.h"
#include <time.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

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_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_kill (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)

Detailed Description

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

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

Definition in file owire.c.

 All Classes Files Functions