Class WsppApiServer

Inheritance Relationships

Base Type

Class Documentation

class WsppApiServer : public axr::sdk::net::AbstractApiServer

Implementation of the IApiServer interface using the Websocket++ library.

Public Functions

WsppApiServer(std::shared_ptr<Configuration> Config)
virtual pplx::task<void> Listen(uint16_t Port)

Starts the HTTP listening server.

Parameters

Port – The port number of the networking device to listen for incoming connections on.

virtual pplx::task<void> Stop()

Stops the HTTP listen server.

Protected Attributes

WsppServer m_Server