BNWebsocketClientCallbacks Struct Reference

Public Attributes

void * context
 
void(* destroyClient )(void *ctxt)
 
bool(* connect )(void *ctxt, const char *host, uint64_t headerCount, const char *const *headerKeys, const char *const *headerValues)
 
bool(* write )(const uint8_t *data, uint64_t len, void *ctxt)
 
bool(* disconnect )(void *ctxt)
 

Member Data Documentation

◆ connect

bool(* BNWebsocketClientCallbacks::connect) (void *ctxt, const char *host, uint64_t headerCount, const char *const *headerKeys, const char *const *headerValues)

◆ context

void* BNWebsocketClientCallbacks::context

◆ destroyClient

void(* BNWebsocketClientCallbacks::destroyClient) (void *ctxt)

◆ disconnect

bool(* BNWebsocketClientCallbacks::disconnect) (void *ctxt)

◆ write

bool(* BNWebsocketClientCallbacks::write) (const uint8_t *data, uint64_t len, void *ctxt)

The documentation for this struct was generated from the following file: