cwWebsock.h : Update documentation of create() args.
This commit is contained in:
parent
1475f1e365
commit
dc7edd2e46
20
cwWebSock.h
20
cwWebSock.h
@ -39,16 +39,16 @@ namespace cw
|
|||||||
|
|
||||||
rc_t create(
|
rc_t create(
|
||||||
handle_t& h,
|
handle_t& h,
|
||||||
cbFunc_t cbFunc,
|
cbFunc_t cbFunc, // websocket callback function
|
||||||
void* cbArg,
|
void* cbArg, // first arg. to websocket callback function
|
||||||
const char* physRootDir,
|
const char* physRootDir, // path to 'dfltHtmlPageFn'
|
||||||
const char* dfltHtmlPageFn,
|
const char* dfltHtmlPageFn, // websockets enabled HTML/JS app
|
||||||
int port,
|
int port, // websocket port
|
||||||
const protocol_t* protocolA,
|
const protocol_t* protocolA, // incoming msg's larger than this will be broken into multiple parts
|
||||||
unsigned protocolN,
|
unsigned protocolN, // outgoing msg's larger than this will be broken into multiple parts
|
||||||
unsigned queueBlkCnt,
|
unsigned queueBlkCnt, // count of memory blocks in the outgoing non-blocking queue (See: cwNbMpScQueue)
|
||||||
unsigned queueBlkByteCnt,
|
unsigned queueBlkByteCnt, // size of each non-blocking memory block
|
||||||
bool extraLogsFl);
|
bool extraLogsFl); // true if extra internal websocket logs should be generated
|
||||||
|
|
||||||
rc_t destroy( handle_t& h );
|
rc_t destroy( handle_t& h );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user