Rudiments: /home/dmuse/temp/rudiments/include/rudiments/private/websocket.h Source File

Rudiments

websocket.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 private:
5
6 bool acceptInternal();
7 ssize_t readInternal(void *buf, ssize_t size);
8 ssize_t write(const void *buf, ssize_t size,
9 unsigned char opcode);
10 ssize_t writeInternal(const void *buf, ssize_t size,
11 unsigned char opcode);
12 ssize_t copyOut(void *buf, ssize_t size);
13 bool pong();
14 bool validatePong();
15
16 websocketprivate *pvt;