Cadabra
Computer algebra system for field theory problems
Typedefs | Functions | Variables
test_talk_to_server.cc File Reference
#include <websocketpp/client.hpp>
#include <websocketpp/config/asio_no_tls_client.hpp>
#include <websocketpp/common/functional.hpp>

Typedefs

typedef websocketpp::client< websocketpp::config::asio_client > client
 
typedef websocketpp::config::asio_client::message_type::ptr message_ptr
 

Functions

void on_open (client *c, websocketpp::connection_hdl hdl)
 
void on_message (client *c, websocketpp::connection_hdl hdl, message_ptr msg)
 
int main (int argc, char **argv)
 

Variables

bool stopit =false
 

Typedef Documentation

◆ client

typedef websocketpp::client<websocketpp::config::asio_client> client

◆ message_ptr

typedef websocketpp::config::asio_client::message_type::ptr message_ptr

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ on_message()

void on_message ( client c,
websocketpp::connection_hdl  hdl,
message_ptr  msg 
)

◆ on_open()

void on_open ( client c,
websocketpp::connection_hdl  hdl 
)

Variable Documentation

◆ stopit

bool stopit =false