websocket.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
private:
bool acceptInternal();
ssize_t readInternal(void *buf, ssize_t size);
ssize_t write(const void *buf, ssize_t size,
unsigned char opcode);
ssize_t writeInternal(const void *buf, ssize_t size,
unsigned char opcode);
ssize_t copyOut(void *buf, ssize_t size);
bool pong();
bool validatePong();
websocketprivate *pvt;